From 3748af73ee67f5e64aaf510619faf38f97d0ca34 Mon Sep 17 00:00:00 2001 From: fengweihao Date: Mon, 20 Jul 2020 10:51:34 +0800 Subject: [PATCH] =?UTF-8?q?TSG-2588=20=E6=9C=8D=E5=8A=A1=E7=AB=AF=E5=9C=A8?= =?UTF-8?q?=E5=90=8C=E4=B8=80=E6=B5=81ID=E4=B8=8B,=E5=8F=91=E9=80=81?= =?UTF-8?q?=E5=A4=9A=E6=AC=A1=E6=89=BF=E8=AF=BA=E6=8E=A8=E9=80=81=E5=B8=A7?= =?UTF-8?q?=E5=A4=84=E7=90=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/protocol/http2/src/http2_stream.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin/protocol/http2/src/http2_stream.cpp b/plugin/protocol/http2/src/http2_stream.cpp index 03e3bd7..a493a13 100644 --- a/plugin/protocol/http2/src/http2_stream.cpp +++ b/plugin/protocol/http2/src/http2_stream.cpp @@ -907,7 +907,7 @@ nghttp2_submit_frame_priority(struct tfe_h2_stream *connection,const nghttp2_fra TFE_LOG_ERROR(logger()->handle, "dir(%d), Fatal send error: %s\n", dir, nghttp2_strerror(xret)); } - ngh2_session->last_sent_stream_id = MAX(ngh2_session->last_sent_stream_id, frame->hd.stream_id); + //ngh2_session->last_sent_stream_id = MAX(ngh2_session->last_sent_stream_id, frame->hd.stream_id); connection->stream_action = stream_action; return 0; } @@ -1354,6 +1354,8 @@ nghttp2_server_frame_submit_push_promise(struct tfe_h2_stream *h2_stream_info, } upstream_create_req(h2_stream_info, h2_stream_info->as_server, peer_h2_stream, stream_id); /*clean header message **/ + delete_nv_packet_data(headers); + stream_action = ACTION_DROP_DATA; finish: return stream_action;