summaryrefslogtreecommitdiff
path: root/src/http_content_decompress.cpp
diff options
context:
space:
mode:
authorlijia <[email protected]>2024-06-06 11:16:22 +0800
committerlijia <[email protected]>2024-06-06 11:16:22 +0800
commit7d6170a23027aff0ebf2e7832dc11e4bbdce57ea (patch)
treeaf9caf24c274b561bc92f07f8db7c14b89c5e425 /src/http_content_decompress.cpp
parent1c232f0176c43c93c3e787ac83f3573bf42c58f1 (diff)
add fieldstat4 statistics, push transaction free msg in session closing state.v2.0.3
Diffstat (limited to 'src/http_content_decompress.cpp')
-rw-r--r--src/http_content_decompress.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/http_content_decompress.cpp b/src/http_content_decompress.cpp
index e761f1d..5c436d9 100644
--- a/src/http_content_decompress.cpp
+++ b/src/http_content_decompress.cpp
@@ -153,9 +153,9 @@ http_content_decompress_write_zlib(struct http_content_decompress *decompress,
decompress->buffer_size);
*outdata = decompress->buffer;
*outdata_len = *outdata_len + have;
- http_decoder_log(DEBUG, "%s realloc outbuffer %zu bytes",
- http_content_encoding_int2str(decompress->encoding),
- decompress->buffer_size);
+ // http_decoder_log(DEBUG, "%s realloc outbuffer %zu bytes",
+ // http_content_encoding_int2str(decompress->encoding),
+ // decompress->buffer_size);
z_stream_ptr->avail_out = have;
z_stream_ptr->next_out = (unsigned char *)decompress->buffer +
(decompress->buffer_size - have);
@@ -211,9 +211,9 @@ http_content_decompress_write_br(struct http_content_decompress *decompress,
if (ret == BROTLI_DECODER_RESULT_ERROR) {
BrotliDecoderErrorCode errcode =
BrotliDecoderGetErrorCode(decompress->br_state);
- http_decoder_log(ERROR,
- "BrotliDecoderDecompressStream() failed: errno = %d, %s",
- errcode, BrotliDecoderErrorString(errcode));
+ // http_decoder_log(ERROR,
+ // "BrotliDecoderDecompressStream() failed: errno = %d, %s",
+ // errcode, BrotliDecoderErrorString(errcode));
return -1;
}