Skip to content

Commit f558a52

Browse files
committed
allow new proxy sockets after closing one. Fixes #5964
1 parent fcafe4d commit f558a52

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/main/process.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6245,6 +6245,11 @@ static void event_new_fd(void *ctx)
62456245
fr_exit(1);
62466246
}
62476247

6248+
/*
6249+
* We've deleted a socket, so we can start allowing new sockets again.
6250+
*/
6251+
proxy_no_new_sockets = false;
6252+
62486253
#ifdef WITH_TLS
62496254
/*
62506255
* Remove this socket from the list of sockets assocated with this home server.

0 commit comments

Comments
 (0)