Skip to content

Commit

Permalink
connection: add flag to track keepalive close event for cleanup
Browse files Browse the repository at this point in the history
Resolves this issue: fluent#6821

Signed-off-by: Wesley Pettit <[email protected]>
  • Loading branch information
PettitWesley committed Feb 13, 2023
1 parent caf63dd commit 3787395
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/fluent-bit/flb_connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ struct flb_connection {
*/
int recycle;

/* do we need to mk_event_del the keepalive event on clean up */
int ka_dropped_event_added;

/* Keepalive */
int ka_count; /* how many times this connection has been used */

Expand Down

0 comments on commit 3787395

Please sign in to comment.