diff options
author | Dmitry Stogov <dmitry@php.net> | 2004-01-27 16:07:58 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2004-01-27 16:07:58 +0000 |
commit | c10038a9eed09f4b4eae441b603c25aa62f2a609 (patch) | |
tree | 45eec5073b8a2ff8d829e5628d0b69e9fcd760ec /ext/soap/php_http.c | |
parent | a6c94a8bf96adbdf1adae579f754c32447edd444 (diff) | |
download | php-git-c10038a9eed09f4b4eae441b603c25aa62f2a609.tar.gz |
enabling HTTP status code 100 (used by Delphi SOAP)
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r-- | ext/soap/php_http.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index 1e7c61255d..57d420c665 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -279,8 +279,8 @@ int get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS } */ - /* Try and get headers again - if (http_status == 100") { + /* Try and get headers again */ + if (http_status == 100) { efree(http_headers); if (!get_http_headers(stream, &http_headers, &http_header_size TSRMLS_CC)) { php_stream_close(stream); @@ -289,7 +289,6 @@ int get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS return FALSE; } } - */ if (strncmp(http_version,"1.1", 3)) { http_1_1 = 1; |