mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
WS
This commit is contained in:
parent
e24c17f9b4
commit
016ee0bf39
@ -226,8 +226,9 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
|
||||
}
|
||||
}
|
||||
|
||||
if (stream == NULL)
|
||||
if (stream == NULL) {
|
||||
goto out;
|
||||
}
|
||||
|
||||
/* avoid buffering issues while reading header */
|
||||
if (options & STREAM_WILL_CAST)
|
||||
@ -312,7 +313,6 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
|
||||
strlcat(scratch, " HTTP/1.0\r\n", scratch_len);
|
||||
}
|
||||
|
||||
|
||||
/* send it */
|
||||
php_stream_write(stream, scratch, strlen(scratch));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user