We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8835a0e commit 18fc952Copy full SHA for 18fc952
src/net.c
@@ -1402,7 +1402,11 @@ void dequeue_sockets()
1402
tv.tv_usec = 0; /* we only want to see if it's ready for writing, no need to actually wait.. */
1403
for (i = 0; i < td->MAXSOCKS; i++)
1404
if (!(socklist[i].flags & (SOCK_UNUSED | SOCK_TCL)) &&
1405
- (socklist[i].handler.sock.outbuf != NULL)) {
+ (socklist[i].handler.sock.outbuf != NULL)
1406
+#ifdef TLS
1407
+ && !(socklist[i].ssl && !SSL_is_init_finished(socklist[i].ssl))
1408
+#endif
1409
+ ) {
1410
if (socklist[i].sock > maxfd)
1411
maxfd = socklist[i].sock;
1412
FD_SET(socklist[i].sock, &wfds);
0 commit comments