From: Ilia Alshanetsky Date: Mon, 30 May 2005 23:46:28 +0000 (+0000) Subject: MFH: Fixed bug #33164 (Soap extension incorrectly detects HTTP/1.1). X-Git-Tag: php-5.0.5RC1~232 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2063ff5a15ba98af368c3006f92bbb1f6be8171f;p=php MFH: Fixed bug #33164 (Soap extension incorrectly detects HTTP/1.1). --- diff --git a/NEWS b/NEWS index e8c29aeff9..2ade2bc147 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,7 @@ PHP NEWS of type (MEDIUM|LONG)BLOB/(MEDIUM|LONG)TEXT. (Andrey) - Fixed memory corruption in ImageTTFText() with 64bit systems. (Andrey) - Fixed bug #33185 (--enable-session=shared does not build). (Jani) +- Fixed bug #33164 (Soap extension incorrectly detects HTTP/1.1). (Ilia) - Fixed bug #33116 (crash when assigning class name to global variable in __autoload). (Dmitry) - Fixed bug #33090 (mysqli_prepare() doesn't return an error). (Georg) diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index 0b15f85d9c..1ba85d719b 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -686,7 +686,7 @@ try_again: if (http_version) { char *tmp; - if (strncmp(http_version,"1.1", 3)) { + if (!strncmp(http_version,"1.1", 3)) { http_1_1 = 1; }