in_tcp: prevent tcp_conn_event() from truncating data (#1713)
in_tcp: prevent tcp_conn_event() from truncating data (#1713)

Currently, the event callback discards the received data when
parse_payload_none() returns a non-positive code, whereas it actually
means "Please retry after you received the remaining data".

This was causing data loss when in_tcp received a long line (a few
hundred kilobytes in length). This fixes it.

Signed-off-by: Fujimoto Seiji <ef879192bb1e41d519c82cf76440dc8e9a530806@clear-code.com>
fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit