Re: [nodejs] Trigger the event loop to be processed

2015-01-22 Thread Fredrik O
Thanks Ben for the answer. It helped me a lot :-) Den torsdag 22 januari 2015 kl. 22:18:41 UTC+1 skrev Ben Noordhuis: > > On Thu, Jan 22, 2015 at 8:27 PM, Fredrik O > > wrote: > > Sorry Matt, I was not precise enough. It was only an example. The > reality is > > that I am building a new sort o

Re: [nodejs] Connect: Routing

2015-01-22 Thread Kevin Ingwersen (Ingwie Phoenix)
Right, should’ve shown the code beforehand. Here goes: - The entry code: http://git.ingwie.me/ingwie/bird3/blob/master/app.js - The actual handler code: http://git.ingwie.me/ingwie/bird3/blob/master/lib/request_handler.js Please note that I have to use vhost for this case. For now, that seems to

Re: [nodejs] Trigger the event loop to be processed

2015-01-22 Thread Ben Noordhuis
On Thu, Jan 22, 2015 at 8:27 PM, Fredrik O wrote: > Sorry Matt, I was not precise enough. It was only an example. The reality is > that I am building a new sort of platform above node and was curious if > there is something I can invoke to force the event loop immediately to be > processed. > > I

Re: [nodejs] Trigger the event loop to be processed

2015-01-22 Thread Fredrik O
Sorry Matt, I was not precise enough. It was only an example. The reality is that I am building a new sort of platform above node and was curious if there is something I can invoke to force the event loop immediately to be processed. I found UV_RUN_NOWAIT but it seems not to fire any http liste

[nodejs] Queue management with Express framework

2015-01-22 Thread dhaval shah
Hello Guys, Wanted to know if Express framework support persistent queue management or not. If not then what are options ? Thanks, Dhaval -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github

[nodejs] how to build test

2015-01-22 Thread Praveen Kumar Gattu
Hi, I am very new to this project.. Can somebody please tell me how to build the test modules along with nodejs directly What are the build flags , I should use. Br Gattu -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md O

[nodejs] Re: Connect: Routing

2015-01-22 Thread Oleg Verych
> > Hey folks. > > Hi. > I am trying to work out my way aorund a tiny routing issue I have. > > There are three major modules: API, CDN and Main. I want to map them as > follows: > > main => / > cdn => /cdn > api => /api > > So anything that goes to /api/* is handled by the API part, for

[nodejs] How to handle https.on('connect')? for SSL Keepalive

2015-01-22 Thread Bryan Field-Elliot
I have clients (happens to be on Android) using SSL and keepalive, desiring to make multiple requests on the same connection. I am not sure why this is overloaded as such, but, in between the first and second HTTP requests, the client is sending an HTTP CONNECT message: CONNECT app.mydomain.com