We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe55e04 commit 47bdc62Copy full SHA for 47bdc62
src/flb_gzip.c
@@ -690,9 +690,11 @@ static int flb_gzip_decompressor_process_header(
690
691
/* Minimal length: header + crc32 */
692
if (context->input_buffer_length < FLB_GZIP_HEADER_SIZE) {
693
- flb_error("[gzip] unexpected content length");
694
-
695
- return FLB_DECOMPRESSOR_FAILURE;
+ /*
+ * This is not a fatal error; it's the expected condition when waiting
+ * for more data. Return INSUFFICIENT_DATA without logging an error.
696
+ */
697
+ return FLB_DECOMPRESSOR_INSUFFICIENT_DATA;
698
}
699
700
memcpy(&inner_context->gzip_header,
0 commit comments