projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
34a2055
)
don't enable this for debug builds
author
Michael Wallner
<mike@php.net>
Wed, 22 Oct 2014 14:19:23 +0000
(16:19 +0200)
committer
Michael Wallner
<mike@php.net>
Wed, 22 Oct 2014 14:19:23 +0000
(16:19 +0200)
php_http_client_curl.c
patch
|
blob
|
history
diff --git
a/php_http_client_curl.c
b/php_http_client_curl.c
index af77b92271a15f5c373e85d1944ddef0ae61ea07..9fc0291e5f0c8f528f68bff434799dc3114d0529 100644
(file)
--- a/
php_http_client_curl.c
+++ b/
php_http_client_curl.c
@@
-282,7
+282,7
@@
static int php_http_curle_raw_callback(CURL *ch, curl_infotype type, char *data,
} else if (php_memnstr(data, ZEND_STRL("Operation timed out"), data + length)) {
h->progress.info = "timeout";
} else {
-#if
PHP_DEBUG
+#if
0
h->progress.info = data;
data[length - 1] = '\0';
#endif