summaryrefslogtreecommitdiff
path: root/src/node_crypto.h
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2014-01-17 18:46:49 +0000
committerFedor Indutny <fedor.indutny@gmail.com>2014-01-20 20:39:57 +0400
commit7f9b01509f28de5888a45b8b1af5667e507a0c94 (patch)
tree3d1e436601a0badaeabe49a4939a686b9d48a20b /src/node_crypto.h
parent023f0a3122d54e3f331f32f5cfe0cb0df9e8f131 (diff)
downloadandroid-node-v8-7f9b01509f28de5888a45b8b1af5667e507a0c94.tar.gz
android-node-v8-7f9b01509f28de5888a45b8b1af5667e507a0c94.tar.bz2
android-node-v8-7f9b01509f28de5888a45b8b1af5667e507a0c94.zip
lib: introduce `.setMaxSendFragment(size)`
fix #6889
Diffstat (limited to 'src/node_crypto.h')
-rw-r--r--src/node_crypto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h
index 2357ca4a2d..7f29e89590 100644
--- a/src/node_crypto.h
+++ b/src/node_crypto.h
@@ -188,6 +188,11 @@ class SSLWrap {
static void Renegotiate(const v8::FunctionCallbackInfo<v8::Value>& args);
static void Shutdown(const v8::FunctionCallbackInfo<v8::Value>& args);
+#ifdef SSL_set_max_send_fragment
+ static void SetMaxSendFragment(
+ const v8::FunctionCallbackInfo<v8::Value>& args);
+#endif // SSL_set_max_send_fragment
+
#ifdef OPENSSL_NPN_NEGOTIATED
static void GetNegotiatedProto(
const v8::FunctionCallbackInfo<v8::Value>& args);