- Jul 20, 2009
-
-
Ryan authored
-
- Jul 16, 2009
- Jul 15, 2009
-
-
Ryan authored
-
Ryan authored
-
Ryan authored
Solution is to manually add Attach() to OnConnection. For client side it seems there is no Detach() being called after NS resolution? Otherwise I would have removed it. That was another bug. Note: We don't want to modify evnet's behavior to have on_connect called directly when the socket is accepted. evnet needs to support SSL, and on_connect is supposed to signal that the SSL connection is established. The point here is that being "connected" and being "attached" to the event loop are two different things. SSL stuff may be transmitted when a socket is not "connected" but it must always be attached.
-
Ryan authored
-
Ryan authored
evnet wasn't properly closing sockets if they didn't have data to write.
-
Ryan authored
-
- Jul 14, 2009
- Jul 13, 2009
-
-
Ryan authored
-
Ryan authored
-
Ryan authored
To use the benchmarks: node benchmarks/run.js or: make benchmark The numbers reported are the elapsed milliseconds the script took to complete. Currently only benching HTTP code and timers.
-
Ryan authored
-
Ryan authored
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.
-
Ryan authored
-
Ryan authored
-
Ryan authored
-
- Jul 11, 2009
-
-
Ryan authored
-
- Jul 10, 2009
-
-
Ryan authored
-
Ryan authored
Simplify and inline ObjectWrap::Wrap Inline and clean up ObjectWrap::Unwrap Move ObjectWrap into its own file. Remove handle from ObjectWrap constructor. add obj->Wrap(handle) Simplify Attach/Detach in ObjectWrap Remove ObjectWrap::InformV8ofAllocation. (Too messy/complex.)
-
- Jul 01, 2009
-
-
Joshaven Potter authored
-
- Jun 30, 2009
- Jun 29, 2009