mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
Port 443 is default for https, so we shouldn't put it into Host:
This commit is contained in:
parent
ec4b6f713d
commit
5b074c048d
@ -380,7 +380,7 @@ try_again:
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user