From 2e69e0edd8d2574952fd5fe779f9604cb7ed6ead Mon Sep 17 00:00:00 2001 From: luwenpeng Date: Wed, 13 Nov 2024 15:08:03 +0800 Subject: TSG-23335 TFE适配AArch64架构 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/protocol/http2/src/http2_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/protocol/http2/src/http2_stream.cpp') diff --git a/plugin/protocol/http2/src/http2_stream.cpp b/plugin/protocol/http2/src/http2_stream.cpp index a722eb8..636952a 100644 --- a/plugin/protocol/http2/src/http2_stream.cpp +++ b/plugin/protocol/http2/src/http2_stream.cpp @@ -2417,7 +2417,7 @@ static int http2_server_on_data_chunk_recv(nghttp2_session *session, uint8_t fla if (req->h2_payload.encode_type != HTTP2_CONTENT_ENCODING_NONE){ ret = http2_decompress_stream(input, input_len, &uncompr, &uncompr_len, &req->h2_payload.inflate, req->h2_payload.encode_type); - if (((ret == Z_STREAM_END) || (ret == Z_OK)) && uncompr > 0){ + if (((ret == Z_STREAM_END) || (ret == Z_OK)) && uncompr_len > 0){ input = (const uint8_t*)uncompr; input_len = uncompr_len; } -- cgit v1.2.3