Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
out_tcp: check connection first (fluent#6208)
compose_payload allocates memory when 'format' is not 'msgpack'. It is not released when no connection is available and it causes issue fluent#6208. This patch is to change flush flow. 1. Check connection 2. Invoke compose_payload Signed-off-by: Takahiro Yamashita <[email protected]> Signed-off-by: root <[email protected]>
- Loading branch information