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:
authorFedor Indutny <fedor.indutny@gmail.com>2014-01-24 22:08:25 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2014-01-24 22:09:42 +0400
commit640912d18a63704fd493059a72b19e6367c2fc1c (patch)
tree2ad0e6e465dd981897f89d218d5a354f00fa9cf6 /src/stream_wrap.h
parentd019eac5b5fe3522f527547046a9baef8ab9572c (diff)
tls_wrap: propagate errors to write callbacks
fix #6903
Diffstat (limited to 'src/stream_wrap.h')
-rw-r--r--src/stream_wrap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stream_wrap.h b/src/stream_wrap.h
index ed8c53ebe87..d1a94fb422f 100644
--- a/src/stream_wrap.h
+++ b/src/stream_wrap.h
@@ -73,6 +73,7 @@ class StreamWrapCallbacks {
virtual ~StreamWrapCallbacks() {
}
+ virtual const char* Error();
virtual int DoWrite(WriteWrap* w,
uv_buf_t* bufs,
size_t count,