summaryrefslogtreecommitdiff
path: root/src/tls_wrap.h
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2014-01-23 16:55:28 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2014-01-23 20:39:32 +0400
commitc79c304ead2e16082465a61156d9e29b01a7909e (patch)
tree9e9b94fbda637ad5c864540ede607651c0e1a0cd /src/tls_wrap.h
parent56ebf308dc9a641dbe432b38d7df257ffec855d5 (diff)
downloadandroid-node-v8-c79c304ead2e16082465a61156d9e29b01a7909e.tar.gz
android-node-v8-c79c304ead2e16082465a61156d9e29b01a7909e.tar.bz2
android-node-v8-c79c304ead2e16082465a61156d9e29b01a7909e.zip
tls: process accumulated input
When creating TLSSocket on top of the regular socket that already contains some received data, `_tls_wrap.js` should try to write all that data to the internal `SSL*` instance. fix #6940
Diffstat (limited to 'src/tls_wrap.h')
-rw-r--r--src/tls_wrap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tls_wrap.h b/src/tls_wrap.h
index 2b10e09bca..c1febe0e70 100644
--- a/src/tls_wrap.h
+++ b/src/tls_wrap.h
@@ -110,6 +110,7 @@ class TLSCallbacks : public crypto::SSLWrap<TLSCallbacks>,
static void OnClientHelloParseEnd(void* arg);
static void Wrap(const v8::FunctionCallbackInfo<v8::Value>& args);
+ static void Receive(const v8::FunctionCallbackInfo<v8::Value>& args);
static void Start(const v8::FunctionCallbackInfo<v8::Value>& args);
static void SetVerifyMode(const v8::FunctionCallbackInfo<v8::Value>& args);
static void EnableSessionCallbacks(