Skip to content

Commit 3e8172d

Browse files
committed
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fix HTTP response status code
2 parents 5885eec + 1ae80f8 commit 3e8172d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/soap/soap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2067,7 +2067,7 @@ static void soap_server_fault_ex(sdlFunctionPtr function, zval* fault, soapHeade
20672067
our fault code with their own handling... Figure this out later
20682068
*/
20692069
if (use_http_error_status) {
2070-
sapi_add_header("HTTP/1.1 500 Internal Service Error", sizeof("HTTP/1.1 500 Internal Service Error")-1, 1);
2070+
sapi_add_header("HTTP/1.1 500 Internal Server Error", sizeof("HTTP/1.1 500 Internal Server Error")-1, 1);
20712071
}
20722072
if (zend_ini_long("zlib.output_compression", sizeof("zlib.output_compression"), 0)) {
20732073
sapi_add_header("Connection: close", sizeof("Connection: close")-1, 1);

0 commit comments

Comments
 (0)