From c10038a9eed09f4b4eae441b603c25aa62f2a609 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 27 Jan 2004 16:07:58 +0000 Subject: [PATCH] enabling HTTP status code 100 (used by Delphi SOAP) --- ext/soap/php_http.c | 5 ++--- 1 file 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; -- 2.50.1