- Jul 27, 2009
-
-
Ryan authored
-
- Jul 25, 2009
- Jul 24, 2009
-
-
Ryan authored
-
Ryan authored
This change also tries to optimize Emit by looping through the listeners in C++. The javascript version of this function is still there and being used, but only by javascript code. Not an ideal solution - there should only be one implementation - however for now it seems to help. This doesn't solve all of the memory leaks that we're experiencing, there seems to be another subtle problem.
-
Ryan authored
-
Ryan authored
-
Ryan authored
-
Ryan authored
-
- Jul 21, 2009
- Jul 20, 2009
- 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
-