GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
In light of the recently disclosed CRIME attack, it may be helpful to make a note for posterity in node_crypto.cc, warning them that compression should never be enabled.
The comment below might leave someone to believe that the only benefit is reduced memory consumption.
// Turn off compression. Saves memory - do it in userland.
STACK_OF(SSL_COMP)* comp_methods =
#if OPENSSL_VERSION_NUMBER < 0x00908000L
assert(sk_SSL_COMP_num(comp_methods) == 0);
@indutny reopen if applicable.