- don't raise notice when checking If-Range header for a last modification date
[m6w6/ext-http] / http_cache_api.c
index 9a6ea89057ea0d122ad68d98b63b958de507f614..adba374d5c65ef90726a5e4d4f9100a07a092709 100644 (file)
@@ -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;
 }