mirror of https://github.com/lukechilds/node.git
Browse Source
The problem was that Connection::on_close was calling Detach() directly after executing the "disconnect" event. Since we had a boolean attach count, this was leaving sockets detached even if they had reattached in during the event. * Added many asserts in http.cc and net.cc to ensure that sockets are connected when they should be. * Changed ObjectWrap to use a reference count instead of boolean attached_ value. * Fixed similar bug in Timer.v0.7.4-release
Ryan
16 years ago
6 changed files with 37 additions and 20 deletions
Loading…
Reference in new issue