projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
add recent curl options
[m6w6/ext-http]
/
php_http_env_response.c
diff --git
a/php_http_env_response.c
b/php_http_env_response.c
index 097bdba7217845025377f3cbad8b1186563bb19e..20a31eb90fea41b0ad73aa22c9e8011867dc1c95 100644
(file)
--- a/
php_http_env_response.c
+++ b/
php_http_env_response.c
@@
-228,8
+228,8
@@
php_http_cache_status_t php_http_env_is_response_cached_by_last_modified(zval *o
static zend_bool php_http_env_response_is_cacheable(php_http_env_response_t *r, php_http_message_t *request)
{
static zend_bool php_http_env_response_is_cacheable(php_http_env_response_t *r, php_http_message_t *request)
{
- TSRMLS_FETCH_FROM_CTX(r->ts);
long status = r->ops->get_status(r);
long status = r->ops->get_status(r);
+ TSRMLS_FETCH_FROM_CTX(r->ts);
if (status && status / 100 != 2) {
return 0;
if (status && status / 100 != 2) {
return 0;