cvs: php-src(PHP_5_0) /ext/soap php_http.c

From: Date: Wed, 01 Dec 2004 17:33:20 +0000
Subject: cvs: php-src(PHP_5_0) /ext/soap php_http.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-29376@lists.php.net to get a copy of this message
dmitry Wed Dec 1 12:33:20 2004 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/soap php_http.c Log: Port 443 is default for https, so we shouldn't put it into Host: http://cvs.php.net/diff.php/php-src/ext/soap/php_http.c?r1=1.55.2.3&r2=1.55.2.4&ty=u Index: php-src/ext/soap/php_http.c diff -u php-src/ext/soap/php_http.c:1.55.2.3 php-src/ext/soap/php_http.c:1.55.2.4 --- php-src/ext/soap/php_http.c:1.55.2.3 Wed Dec 1 11:59:23 2004 +++ php-src/ext/soap/php_http.c Wed Dec 1 12:33:19 2004 @@ -17,7 +17,7 @@ | Dmitry Stogov <dmitry@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: php_http.c,v 1.55.2.3 2004/12/01 16:59:23 dmitry Exp $ */ +/* $Id: php_http.c,v 1.55.2.4 2004/12/01 17:33:19 dmitry Exp $ */ #include "php_soap.h" #include "ext/standard/base64.h" @@ -380,7 +380,7 @@ smart_str_append_const(&soap_headers, " HTTP/1.1\r\n" "Host: "); smart_str_appends(&soap_headers, phpurl->host); - if (phpurl->port != 80) { + if (phpurl->port != (use_ssl?443:80)) { smart_str_appendc(&soap_headers, ':'); smart_str_append_unsigned(&soap_headers, phpurl->port); }

« previous php.cvs (#29376) next »