diff options
| author | zhengchao <[email protected]> | 2018-10-21 15:03:04 +0800 |
|---|---|---|
| committer | zhengchao <[email protected]> | 2018-10-21 15:03:04 +0800 |
| commit | c5f5ee26557ac29f785ff6404cc30226a3524e97 (patch) | |
| tree | 64516abee2f15d8a8c6d816b7f176f860c9c34ad /cache | |
| parent | c94b267a6591e0618dd57b18de52dd86c505aa41 (diff) | |
不cache包含Set-cookie的应答。修改多处日志细节。
Diffstat (limited to 'cache')
| -rw-r--r-- | cache/src/tango_cache_pending.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cache/src/tango_cache_pending.cpp b/cache/src/tango_cache_pending.cpp index 30fe9db..1caffbb 100644 --- a/cache/src/tango_cache_pending.cpp +++ b/cache/src/tango_cache_pending.cpp @@ -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) { |
