Skip to content

Commit 399f6ae

Browse files
committed
it's only defined for threaded builds
1 parent f558a52 commit 399f6ae

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/process.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6248,7 +6248,9 @@ static void event_new_fd(void *ctx)
62486248
/*
62496249
* We've deleted a socket, so we can start allowing new sockets again.
62506250
*/
6251+
#ifdef HAVE_PTHREAD_H
62516252
proxy_no_new_sockets = false;
6253+
#endif
62526254

62536255
#ifdef WITH_TLS
62546256
/*

0 commit comments

Comments
 (0)