From: Jan Engelhardt References: http://sf.net/p/gsoap2/patches/158/ gsoap has a weird "protection": if content is compressed too well, it is considered evil and dropped. In gsoap-2.8.22, the MINDEFAULT value was changed from 0.1 to 0.001. However, the comment above explicitly says the minimum is 0.0009something. --- gsoap/stdsoap2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: gsoap-2.8.22/gsoap/stdsoap2.h =================================================================== --- gsoap-2.8.22.orig/gsoap/stdsoap2.h +++ gsoap-2.8.22/gsoap/stdsoap2.h @@ -1159,7 +1159,7 @@ extern "C" { to the limit of 1032:1. */ #ifndef SOAP_MINDEFLATERATIO -# define SOAP_MINDEFLATERATIO (0.001) /* ratio of deflated/inflated > 0.1% */ +# define SOAP_MINDEFLATERATIO (1.0/1032) /* 0.001 would still reject 1032:1 streams */ #endif #ifdef VXWORKS