projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Don't forget to reset CUSTOMREQUEST on method change and defaults restore.
[m6w6/ext-http]
/
http_request_api.c
diff --git
a/http_request_api.c
b/http_request_api.c
index 8c112497896f0ecc78fadf01bf3332c978ee5cb8..e949bf45beadefa93082e987d37f8b0687edf3e0 100644
(file)
--- a/
http_request_api.c
+++ b/
http_request_api.c
@@
-391,6
+391,7
@@
PHP_HTTP_API void _http_request_defaults(http_request *request)
HTTP_CURL_OPT(READDATA, NULL);
HTTP_CURL_OPT(INFILESIZE, 0);
HTTP_CURL_OPT(HTTP_VERSION, CURL_HTTP_VERSION_NONE);
+ HTTP_CURL_OPT(CUSTOMREQUEST, NULL);
}
}
/* }}} */