From 26d537b67affa946eb8f5397340c78413bea8de0 Mon Sep 17 00:00:00 2001 From: Lu Qiuwen Date: Thu, 18 Oct 2018 15:00:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=9F=BA=E4=BA=8E=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E4=BE=A7=E6=9E=84=E5=BB=BA=E5=BA=94=E7=AD=94=E4=BE=A7?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E5=81=87=E8=AE=BE=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/protocol/http/src/http_entry.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin/protocol/http/src/http_entry.cpp b/plugin/protocol/http/src/http_entry.cpp index faa5bae..28007c2 100644 --- a/plugin/protocol/http/src/http_entry.cpp +++ b/plugin/protocol/http/src/http_entry.cpp @@ -142,7 +142,9 @@ int __on_request_handle_user_req_or_resp(const tfe_stream * stream, struct http_ hs_private->hf_private_resp_user = NULL; } - assert(hf_private_req_in->stream_action == ACTION_DEFER_DATA); + assert(hf_private_req_in->stream_action == ACTION_DEFER_DATA + || hf_private_req_in->stream_action == ACTION_DROP_DATA); + hf_private_req_in->stream_action = ACTION_DROP_DATA; }