Browse Source

net_uv: Fix simple/test-http-expect-continue.js

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
061ce7b0ac
  1. 6
      lib/net_uv.js

6
lib/net_uv.js

@ -310,6 +310,12 @@ Socket.prototype.write = function(data /* [encoding], [fd], [cb] */) {
}
var writeReq = this._handle.write(data);
if (!writeReq) {
this.destroy(errnoException(errno, 'write'));
return false;
}
writeReq.oncomplete = afterWrite;
writeReq.cb = cb;
this._writeRequests.push(writeReq);

Loading…
Cancel
Save