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