Index: php_http.c =================================================================== RCS file: /repository/php-src/ext/soap/php_http.c,v retrieving revision 1.77.2.7 diff -u -r1.77.2.7 php_http.c --- php_http.c 6 Feb 2006 10:16:03 -0000 1.77.2.7 +++ php_http.c 6 Feb 2006 17:06:59 -0000 @@ -247,7 +247,7 @@ request_size = buf_size; /* Compress request */ if (zend_hash_find(Z_OBJPROP_P(this_ptr), "compression", sizeof("compression"), (void **)&tmp) == SUCCESS && Z_TYPE_PP(tmp) == IS_LONG) { - int level = Z_LVAL_PP(tmp) & 0x0f; + int level = Z_LVAL_PP(tmp) & 0x09; int kind = Z_LVAL_PP(tmp) & SOAP_COMPRESSION_DEFLATE; if ((Z_LVAL_PP(tmp) & SOAP_COMPRESSION_ACCEPT) != 0) {