mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
- Fixed bug #33242 (Mangled error message when stream fails).
This commit is contained in:
parent
91a344a504
commit
c6ae4a98be
@ -103,6 +103,8 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
|
||||
char *protocol_version = NULL;
|
||||
int protocol_version_len = 3; /* Default: "1.0" */
|
||||
|
||||
tmp_line[0] = '\0';
|
||||
|
||||
if (redirect_max < 1) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Redirection limit reached, aborting.");
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user