From: Nick Porter Date: Fri, 19 Jul 2024 15:43:44 +0000 (+0100) Subject: Listeners only have nonblock options when built with TLS X-Git-Tag: release_3_2_6~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb8310dc9ea6eccb5a55183b46a2632c16a51692;p=thirdparty%2Ffreeradius-server.git Listeners only have nonblock options when built with TLS --- diff --git a/src/main/listen.c b/src/main/listen.c index e27243d067d..2c045b99fda 100644 --- a/src/main/listen.c +++ b/src/main/listen.c @@ -3585,7 +3585,9 @@ rad_listen_t *proxy_new_listener(TALLOC_CTX *ctx, home_server_t *home, uint16_t if (home->proto == IPPROTO_TCP) { this->recv = proxy_socket_tcp_recv; +#ifdef WITH_TLS this->nonblock |= home->nonblock; +#endif /* * FIXME: connect() is blocking!