Re:A HTTP Proxy Server in 20 Lines of node.js Code
by calcnerd256 on Wednesday April 28, 2010 @10:07AM
(#1301570)
I'm not sure, but I'd guess closing over it in the callback would work, as long as the TCP timeout is longer than the database response (even then, you could probably touch the stream every so often while you wait, perhaps via nextTick or something).
[ Parent
| on HN ]
There are no comments on this comment yet.