Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-07-19 13:18:10 +0400
committerRyan Dahl <ry@tinyclouds.org>2011-07-19 13:19:27 +0400
commit6050af4fd7c103c52c5081210f84237eac19108c (patch)
tree9ffe94058798de40739e38472e3603a1264a9a92 /src/pipe_wrap.cc
parent061ce7b0ac370c8a5ae93d95ab7da171cbd488f0 (diff)
net_uv: properly initialize writeQueueSize
Fixes simple/test-tcp-wrap-listen.js
Diffstat (limited to 'src/pipe_wrap.cc')
-rw-r--r--src/pipe_wrap.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pipe_wrap.cc b/src/pipe_wrap.cc
index adbeb0f8c18..5d0c5128edc 100644
--- a/src/pipe_wrap.cc
+++ b/src/pipe_wrap.cc
@@ -85,6 +85,7 @@ class PipeWrap : StreamWrap {
int r = uv_pipe_init(&handle_);
assert(r == 0); // How do we proxy this error up to javascript?
// Suggestion: uv_pipe_init() returns void.
+ UpdateWriteQueueSize();
}
static Handle<Value> Bind(const Arguments& args) {