Skip to content

Commit f6a9069

Browse files
committed
Not all TCP sockets have ssn
1 parent 4889f59 commit f6a9069

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/process.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2291,7 +2291,7 @@ static void tcp_socket_timer(void *ctx)
22912291
/*
22922292
* Enforce connection timeouts.
22932293
*/
2294-
if (!sock->ssn->connected) {
2294+
if (sock->ssn && !sock->ssn->connected) {
22952295
if (!sock->limit.connect_timeout ||
22962296
(sock->limit.connect_timeout > 30)) {
22972297
end.tv_sec = sock->opened + 5;

0 commit comments

Comments
 (0)