From 36762d60cadc0e9b075da66d79aa38b72ef03f90 Mon Sep 17 00:00:00 2001 From: zhengchao Date: Tue, 20 Nov 2018 16:43:17 +0800 Subject: [PATCH] =?UTF-8?q?miss=E7=8A=B6=E6=80=81=E6=89=8D=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E7=BC=93=E5=AD=98=E6=9B=B4=E6=96=B0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/business/pangu-http/src/pangu_http.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/business/pangu-http/src/pangu_http.cpp b/plugin/business/pangu-http/src/pangu_http.cpp index f62dc3d..a11caee 100644 --- a/plugin/business/pangu-http/src/pangu_http.cpp +++ b/plugin/business/pangu-http/src/pangu_http.cpp @@ -1344,8 +1344,7 @@ void pangu_on_http_data(const struct tfe_stream * stream, const struct tfe_http_ } } - if(tfe_http_in_response(events) - && (ctx->pending_result==PENDING_RESULT_MISS||ctx->pending_result==PENDING_RESULT_ALLOWED)) + if(tfe_http_in_response(events) && ctx->pending_result==PENDING_RESULT_MISS) { cache_update(session, events, body_frag, frag_size, thread_id, ctx); }