PlanetJava
Custom Search

javascript-nodejs
[Top] [All Lists]

Re: httpclient + keepalive

Subject: Re: httpclient + keepalive
Date: Wed, 30 Jun 2010 12:33:38 -0700
On Wed, Jun 30, 2010 at 12:19 PM, Benoit  Chesneau 
<[email protected]> wrote:
> Hi,
>
> I would like to have keep-alive with httpclient. Is settings headers
> enough, does nodejs maintain a pool of opened connections ? Or should
> I develop mine ?
Currently the http.Client does not support keep-alive. However, it's
about a 10 line patch to make it work. You can either try to do that
patch yourself (lib/http.js) or poke me repeatedly until I do it.
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy