--- neon-0.28.2/src/ne_openssl.c.nocomp +++ neon-0.28.2/src/ne_openssl.c @@ -1,6 +1,6 @@ /* neon SSL/TLS support using OpenSSL - Copyright (C) 2002-2007, Joe Orton + Copyright (C) 2002-2008, Joe Orton Portions are: Copyright (C) 1999-2000 Tommi Komulainen @@ -545,7 +545,7 @@ ne_ssl_context *ne_ssl_context_create(in /* set client cert callback. */ SSL_CTX_set_client_cert_cb(ctx->ctx, provide_client_cert); /* enable workarounds for buggy SSL server implementations */ - SSL_CTX_set_options(ctx->ctx, SSL_OP_ALL); + SSL_CTX_set_options(ctx->ctx, SSL_OP_ALL | SSL_OP_NO_COMP); } else if (mode == NE_SSL_CTX_SERVER) { ctx->ctx = SSL_CTX_new(SSLv23_server_method()); SSL_CTX_set_session_cache_mode(ctx->ctx, SSL_SESS_CACHE_CLIENT);