summaryrefslogtreecommitdiff
path: root/plugin/protocol/http2/src/http2_stream.cpp
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-11-13 15:08:03 +0800
committerluwenpeng <[email protected]>2024-11-15 18:40:04 +0800
commit2e69e0edd8d2574952fd5fe779f9604cb7ed6ead (patch)
tree94b91e279ee807a6950ef98d6b527b2c850d3d59 /plugin/protocol/http2/src/http2_stream.cpp
parent595167dcf811fdb0c61f9d80df7fa0cd5cbe25e8 (diff)
TSG-23335 TFE适配AArch64架构v4.11.1-20241115
Diffstat (limited to 'plugin/protocol/http2/src/http2_stream.cpp')
-rw-r--r--plugin/protocol/http2/src/http2_stream.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}