net_uv: Fix simple/test-http-expect-continue.js
This commit is contained in:
Родитель
4ef8f06fe6
Коммит
061ce7b0ac
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче