X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_cache_api.c;h=adba374d5c65ef90726a5e4d4f9100a07a092709;hp=9a6ea89057ea0d122ad68d98b63b958de507f614;hb=3d3fa591d770c2b046ff8f51e85bd8dafc1dfa56;hpb=db416fc4a150385aeb0c3eb4c2ae254057282b56 diff --git a/http_cache_api.c b/http_cache_api.c index 9a6ea89..adba374 100644 --- a/http_cache_api.c +++ b/http_cache_api.c @@ -85,7 +85,7 @@ PHP_HTTP_API zend_bool _http_match_last_modified_ex(const char *entry, time_t t, chr_ptr = 0; } - retval = (t <= http_parse_date(modified)); + retval = (t <= http_parse_date_ex(modified, 1)); efree(modified); return retval; }