summaryrefslogtreecommitdiff
path: root/src/stream_wrap.h
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2015-03-01 00:46:43 +0300
committerRod Vagg <rod@vagg.org>2015-02-28 16:50:36 -0600
commit2b47fd2eb615511ee1f2f29d496cd817e54740e1 (patch)
tree073309b433d3b26f1078ce1b4337d32f24359a98 /src/stream_wrap.h
parentc9151547bcc61bd528810a5f294b180ac30c2e45 (diff)
downloadandroid-node-v8-2b47fd2eb615511ee1f2f29d496cd817e54740e1.tar.gz
android-node-v8-2b47fd2eb615511ee1f2f29d496cd817e54740e1.tar.bz2
android-node-v8-2b47fd2eb615511ee1f2f29d496cd817e54740e1.zip
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 <bertbelder@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to 'src/stream_wrap.h')
-rw-r--r--src/stream_wrap.h3
1 files changed, 2 insertions, 1 deletions
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<v8::FunctionTemplate> target);
+ v8::Handle<v8::FunctionTemplate> target,
+ int flags = StreamBase::kFlagNone);
private:
static void SetBlocking(const v8::FunctionCallbackInfo<v8::Value>& args);