projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
* Fixed bug #14168 (st->errorbuffer not cleared between uses of persistent handles)
[m6w6/ext-http]
/
http_request_api.c
diff --git
a/http_request_api.c
b/http_request_api.c
index bf21eba4ef4a3ec10bb09b9f4137ce8f5047ca4f..2d853a2b91265a135f767dbb261625f08556a254 100644
(file)
--- a/
http_request_api.c
+++ b/
http_request_api.c
@@
-555,7
+555,7
@@
PHP_HTTP_API STATUS _http_request_prepare(http_request *request, HashTable *opti
if (!(storage = http_request_storage_get(request->ch))) {
return FAILURE;
}
-
+ storage->errorbuffer[0] = '\0';
/* set options */
if (storage->url) {
pefree(storage->url, 1);