projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- parameter to set*() and add*() methods is optional
[m6w6/ext-http]
/
http_send_api.c
diff --git
a/http_send_api.c
b/http_send_api.c
index e832c38165f86b77e09e8aeed0a773fdb3e9db94..630d9dc39dbd191cd983e9148d9b7720e4318211 100644
(file)
--- a/
http_send_api.c
+++ b/
http_send_api.c
@@
-365,7
+365,8
@@
PHP_HTTP_API STATUS _http_send(const void *data_ptr, size_t data_size, http_send
/* Range Request - only send ranges if entity hasn't changed */
if ( range_status == RANGE_OK &&
http_match_etag_ex("HTTP_IF_MATCH", HTTP_G(send).unquoted_etag, 0) &&
/* Range Request - only send ranges if entity hasn't changed */
if ( range_status == RANGE_OK &&
http_match_etag_ex("HTTP_IF_MATCH", HTTP_G(send).unquoted_etag, 0) &&
- http_match_last_modified_ex("HTTP_IF_UNMODIFIED_SINCE", HTTP_G(send).last_modified, 0)) {
+ http_match_last_modified_ex("HTTP_IF_UNMODIFIED_SINCE", HTTP_G(send).last_modified, 0) &&
+ http_match_last_modified_ex("HTTP_UNLESS_MODIFIED_SINCE", HTTP_G(send).last_modified, 0)) {
STATUS result = http_send_ranges(&ranges, data_ptr, data_size, data_mode);
zend_hash_destroy(&ranges);
return result;
STATUS result = http_send_ranges(&ranges, data_ptr, data_size, data_mode);
zend_hash_destroy(&ranges);
return result;