不cache包含Set-cookie的应答。修改多处日志细节。

This commit is contained in:
zhengchao
2018-10-21 15:03:04 +08:00
parent c94b267a65
commit c5f5ee2655
8 changed files with 36 additions and 9 deletions

View File

@@ -275,6 +275,11 @@ enum cache_pending_action tfe_cache_put_pending(const struct tfe_http_half *resp
{
return FORBIDDEN;
}
value=tfe_http_std_field_read(response, TFE_HTTP_SET_COOKIE);
if(value!=NULL)
{
return FORBIDDEN;
}
value = tfe_http_std_field_read(response, TFE_HTTP_PRAGMA);
if (value != NULL)
{