Created
March 17, 2015 22:36
-
-
Save Roguelazer/45a273b1e78474197b69 to your computer and use it in GitHub Desktop.
node all workarounds by default
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/node_crypto.cc b/src/node_crypto.cc | |
index 075a2e3..359f556 100644 | |
--- a/src/node_crypto.cc | |
+++ b/src/node_crypto.cc | |
@@ -287,6 +287,8 @@ Handle<Value> SecureContext::Init(const Arguments& args) { | |
sc->ctx_ = SSL_CTX_new(method); | |
+ SSL_CTX_set_options(sc->ctx_, SSL_OP_ALL & ~SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS); | |
+ | |
// SSL session cache configuration | |
SSL_CTX_set_session_cache_mode(sc->ctx_, | |
SSL_SESS_CACHE_SERVER | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment