projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
let the parser handle non-blocking streams
[m6w6/ext-http]
/
php_http_client_curl.c
diff --git
a/php_http_client_curl.c
b/php_http_client_curl.c
index 4056e9260ab9dbfb261c8be5ab04f13cb3c99b36..af77b92271a15f5c373e85d1944ddef0ae61ea07 100644
(file)
--- a/
php_http_client_curl.c
+++ b/
php_http_client_curl.c
@@
-903,7
+903,7
@@
static STATUS php_http_curle_option_set_lastmodified(php_http_option_t *opt, zva
return FAILURE;
}
} else {
return FAILURE;
}
} else {
- if (CURLE_OK != curl_easy_setopt(ch, CURLOPT_TIMEVALUE, (long)
PHP_HTTP_G->env.request.time
+ Z_LVAL_P(val))) {
+ if (CURLE_OK != curl_easy_setopt(ch, CURLOPT_TIMEVALUE, (long)
sapi_get_request_time(TSRMLS_C)
+ Z_LVAL_P(val))) {
return FAILURE;
}
}
return FAILURE;
}
}