We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4889f59 commit f6a9069Copy full SHA for f6a9069
1 file changed
src/main/process.c
@@ -2291,7 +2291,7 @@ static void tcp_socket_timer(void *ctx)
2291
/*
2292
* Enforce connection timeouts.
2293
*/
2294
- if (!sock->ssn->connected) {
+ if (sock->ssn && !sock->ssn->connected) {
2295
if (!sock->limit.connect_timeout ||
2296
(sock->limit.connect_timeout > 30)) {
2297
end.tv_sec = sock->opened + 5;
0 commit comments