mirror of https://github.com/lukechilds/node.git
Browse Source
This commit fixes two bugs in the handling of write requests when the connect() call is still in progress. 1. The deferred write request's size was counted twice towards `.bytesWritten`. 2. The callback was not called. After connecting, `Socket.write()` was called with three arguments (data, encoding, cb) but it ignored the third argument. Coincidentally fixes test/simple/test-net-connect-buffer.js.v0.7.4-release
Ben Noordhuis
13 years ago
1 changed files with 7 additions and 1 deletions
Loading…
Reference in new issue