We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fec393 commit d34b5c5Copy full SHA for d34b5c5
src/node_net.cc
@@ -737,10 +737,10 @@ static Handle<Value> Write(const Arguments& args) {
737
assert(args.Length() == 3);
738
739
Local<String> string = args[1]->ToString();
740
- static struct iovec iov[IOV_MAX];
+ static struct iovec iov[20];
741
742
written =
743
- string->WritevAscii(0, (struct String::iovec*)(iov), IOV_MAX);
+ string->WritevAscii(0, (struct String::iovec*)(iov), 20);
744
745
if (written > 0) {
746
// Count the number of vectors we got.
0 commit comments