summaryrefslogtreecommitdiff
path: root/src/tls_wrap.h
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2016-01-26 15:01:12 -0500
committerFedor Indutny <fedor@indutny.com>2016-01-27 17:27:52 -0500
commitff4006c7b05d677f6b63f01ad9c5faf97e0230bd (patch)
tree93407b2243a5df8afdd931e3541f998624b36eff /src/tls_wrap.h
parentb4313cf9a2ac4e56397a5c6049a6a9e143ab7696 (diff)
downloadandroid-node-v8-ff4006c7b05d677f6b63f01ad9c5faf97e0230bd.tar.gz
android-node-v8-ff4006c7b05d677f6b63f01ad9c5faf97e0230bd.tar.bz2
android-node-v8-ff4006c7b05d677f6b63f01ad9c5faf97e0230bd.zip
tls_wrap: reach error reporting for UV_EPROTO
Do not swallow error details when reporting UV_EPROTO asynchronously, and when creating artificial errors. Fix: #3692 PR-URL: https://github.com/nodejs/node/pull/4885 Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/tls_wrap.h')
-rw-r--r--src/tls_wrap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls_wrap.h b/src/tls_wrap.h
index 31d19523a6..471a92056d 100644
--- a/src/tls_wrap.h
+++ b/src/tls_wrap.h
@@ -89,7 +89,7 @@ class TLSWrap : public AsyncWrap,
bool ClearIn();
void ClearOut();
void MakePending();
- bool InvokeQueued(int status);
+ bool InvokeQueued(int status, const char* error_str = nullptr);
inline void Cycle() {
// Prevent recursion