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 /plugin/business/pangu-http/src/pangu_web_cache.cpp | |
| parent | c94b267a6591e0618dd57b18de52dd86c505aa41 (diff) | |
不cache包含Set-cookie的应答。修改多处日志细节。
Diffstat (limited to 'plugin/business/pangu-http/src/pangu_web_cache.cpp')
| -rw-r--r-- | plugin/business/pangu-http/src/pangu_web_cache.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin/business/pangu-http/src/pangu_web_cache.cpp b/plugin/business/pangu-http/src/pangu_web_cache.cpp index 135f84b..1a28b01 100644 --- a/plugin/business/pangu-http/src/pangu_web_cache.cpp +++ b/plugin/business/pangu-http/src/pangu_web_cache.cpp @@ -327,10 +327,11 @@ static void wrap_cache_query_on_succ(future_result_t * result, void * user) FS_operate(ctx->ref_handle->fs_handle, ctx->ref_handle->fs_id[STAT_CACHE_QUERY_HIT_OJB_SIZE], 0, FS_OP_SET, _result->tlength/1024); TFE_LOG_DEBUG(ctx->ref_handle->logger, "cache query hit: %s", ctx->url); break; - case RESULT_TYPE_END: case RESULT_TYPE_MISS: + TFE_LOG_DEBUG(ctx->ref_handle->logger, "cache query miss: %s", ctx->url); + //NOT break intentionally. + case RESULT_TYPE_END: //last call. - TFE_LOG_DEBUG(ctx->ref_handle->logger, "cache query miss: %s", ctx->url); promise_dettach_ctx(p); cache_query_ctx_free_cb(ctx); break; |
