From 2b47fd2eb615511ee1f2f29d496cd817e54740e1 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Sun, 1 Mar 2015 00:46:43 +0300 Subject: stream_base: `.writev()` has limited support Only TCP and JSStream do support `.writev()` on all platforms at the moment. Ensure that it won't be enabled everywhere. Fix: https://github.com/iojs/io.js/issues/995 PR-URL: https://github.com/iojs/io.js/pull/1008 Reviewed-by: Bert Belder Reviewed-By: Rod Vagg --- src/stream_wrap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/stream_wrap.h') diff --git a/src/stream_wrap.h b/src/stream_wrap.h index 99561e843a..8e4cdf20be 100644 --- a/src/stream_wrap.h +++ b/src/stream_wrap.h @@ -68,7 +68,8 @@ class StreamWrap : public HandleWrap, public StreamBase { void UpdateWriteQueueSize(); static void AddMethods(Environment* env, - v8::Handle target); + v8::Handle target, + int flags = StreamBase::kFlagNone); private: static void SetBlocking(const v8::FunctionCallbackInfo& args); -- cgit v1.2.3