gsoap/gsoap-mindeflateratio.diff

16 lines
465 B
Diff

gsoap has a weird "protection": if content is compressed too well,
it is considered evil and dropped.
--- gsoap-2.8.orig/gsoap/stdsoap2.h
+++ gsoap-2.8/gsoap/stdsoap2.h
@@ -1142,7 +1142,7 @@
Trust when compressed / deflated > SOAP_MINDEFLATERATIO
*/
#ifndef SOAP_MINDEFLATERATIO
-# define SOAP_MINDEFLATERATIO (0.1) /* ratio of deflated/inflated > 10% */
+# define SOAP_MINDEFLATERATIO (0.0) /* ratio of deflated/inflated > 10% */
#endif
#ifdef VXWORKS