From: Dmitry Stogov Date: Tue, 27 Jan 2004 16:07:58 +0000 (+0000) Subject: enabling HTTP status code 100 (used by Delphi SOAP) X-Git-Tag: php-5.0.0b4RC1~274 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c10038a9eed09f4b4eae441b603c25aa62f2a609;p=php enabling HTTP status code 100 (used by Delphi SOAP) --- 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;