Skip to content

Commit cd6266b

Browse files
committed
FIX: close the proxy listen connection in proxy unaccept
1 parent 9be33ab commit cd6266b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/nc_proxy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ proxy_each_unaccept(void *elem, void *data)
317317
p = pool->p_conn;
318318
if (p != NULL && ctx != NULL) {
319319
event_del_conn(ctx->evb, p);
320+
proxy_close(ctx, p);
320321
}
321322

322323
return NC_OK;

0 commit comments

Comments
 (0)