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 69ee055 commit 52f370bCopy full SHA for 52f370b
src/flb_downstream.c
@@ -188,7 +188,7 @@ static int prepare_destroy_conn(struct flb_connection *connection)
188
flb_trace("[downstream] destroy connection #%i to %s",
189
connection->fd, flb_connection_get_remote_address(connection));
190
191
- if (stream->flags & FLB_IO_ASYNC) {
+ if(MK_EVENT_IS_REGISTERED((&connection->event))) {
192
mk_event_del(connection->evl, &connection->event);
193
}
194
0 commit comments