Skip to content

Commit

Permalink
Fixed bug #61423 (gzip compression fails).
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Alshanetsky committed Apr 3, 2012
1 parent 827c446 commit 9c5ae99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/soap/php_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ int make_http_soap_request(zval *this_ptr,
n = 3;
ZVAL_STRING(&func, "gzencode", 0);
smart_str_append_const(&soap_headers_z,"Content-Encoding: gzip\r\n");
ZVAL_LONG(params[2], 1);
ZVAL_LONG(params[2], 0x1f);
}
if (call_user_function(CG(function_table), (zval**)NULL, &func, &retval, n, params TSRMLS_CC) == SUCCESS &&
Z_TYPE(retval) == IS_STRING) {
Expand Down

0 comments on commit 9c5ae99

Please sign in to comment.