On May 21, 02014, at 12:06, Nuno Barros <[email protected]> wrote:
> hello, I'am in a project where i need to establish the most possible http > connections and keep them open, using node.js but I'm not sure how I could do > it. if anyone can put me in the right way it would be great. > > thanks in advance In node 0.10, disable the http agent; in node 0.11+, that shouldn’t be needed. (Someone correct me if I’m wrong there!) Then: use the http library and start a bunch of connections. If you start sending and don’t end, they’ll stay open. Do you need them to stay open in inter-request keepalive state, or just occupy sockets? Aria
signature.asc
Description: Message signed with OpenPGP using GPGMail
