0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/mjsunit
Ryan 041af82b8c Bugfix: Sockets not properly reattached if reconnected during disconnect event.
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.
2009-07-13 16:38:55 +02:00
..
fixtures Use v8's test runner 2009-06-22 14:08:42 +02:00
mjsunit.js Use v8's test runner 2009-06-22 14:08:42 +02:00
test-file-cat-noexist.js Implement Promises for file i/o 2009-06-28 19:08:27 +02:00
test-file-open.js validate js 2009-07-01 02:33:08 +02:00
test-fs-stat.js Add new test for node.fs.stat() 2009-06-29 14:11:26 +02:00
test-http-cat.js validate js 2009-07-01 02:33:08 +02:00
test-http-client-race.js Snakecase events . 2009-06-29 13:18:30 +02:00
test-http-proxy.js Snakecase events . 2009-06-29 13:18:30 +02:00
test-http-server.js Change 'new node.tcp.Connection' to 'node.tcp.createConnection' 2009-06-30 13:56:52 +02:00
test-http.js Snakecase events . 2009-06-29 13:18:30 +02:00
test-module-loading.js Use v8's test runner 2009-06-22 14:08:42 +02:00
test-node-cat.js validate js 2009-07-01 02:33:08 +02:00
test-process-buffering.js Remove node.Process constructor from API 2009-06-30 13:46:35 +02:00
test-process-kill.js Remove node.Process constructor from API 2009-06-30 13:46:35 +02:00
test-process-simple.js Remove node.Process constructor from API 2009-06-30 13:46:35 +02:00
test-process-spawn-loop.js Remove node.Process constructor from API 2009-06-30 13:46:35 +02:00
test-remote-module-loading.js Further expand EventEmitter to TCP and HTTP 2009-06-28 19:08:26 +02:00
test-tcp-pingpong.js Change 'new node.tcp.Connection' to 'node.tcp.createConnection' 2009-06-30 13:56:52 +02:00
test-tcp-reconnect.js Bugfix: Sockets not properly reattached if reconnected during disconnect event. 2009-07-13 16:38:55 +02:00
test-timers.js Use v8's test runner 2009-06-22 14:08:42 +02:00
testcfg.py Use v8's test runner 2009-06-22 14:08:42 +02:00