diff --git a/cache/src/tango_cache_pending.cpp b/cache/src/tango_cache_pending.cpp index 2cfece3..8d803d9 100644 --- a/cache/src/tango_cache_pending.cpp +++ b/cache/src/tango_cache_pending.cpp @@ -226,8 +226,10 @@ void get_response_freshness(const struct tfe_http_half *response, struct respons field_value = tfe_http_std_field_read(response, TFE_HTTP_DATE); if (field_value != NULL) { - assert(is_standard_gmt_format(field_value)); - freshness->date = read_GMT_time(field_value);; + if(is_standard_gmt_format(field_value)) + { + freshness->date = read_GMT_time(field_value);; + } } field_value = tfe_http_std_field_read(response, TFE_HTTP_LAST_MODIFIED); if (field_value != NULL && is_standard_gmt_format(field_value))