diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2014-01-24 22:08:25 +0400 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2014-01-24 22:09:42 +0400 |
commit | 640912d18a63704fd493059a72b19e6367c2fc1c (patch) | |
tree | 2ad0e6e465dd981897f89d218d5a354f00fa9cf6 /src/stream_wrap.h | |
parent | d019eac5b5fe3522f527547046a9baef8ab9572c (diff) |
tls_wrap: propagate errors to write callbacks
fix #6903
Diffstat (limited to 'src/stream_wrap.h')
-rw-r--r-- | src/stream_wrap.h | 1 |
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, |