mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
cfd61622ae
Connections were being garbage collected while they were still in progress since the object would leave scope. This commit adds ObjectWrap::Attach() and ObjectWrap::Detach() to tell v8 that an object is currently on the event loop and will be needed in the future. Other changes to oi_socket.c and net.cc are to fix bugs encountered while running the HTTP server. |
||
---|---|---|
.. | ||
test | ||
oi_socket.c | ||
oi_socket.h |