mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
Close fd and stop ev_io on failed handshake.
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
This commit is contained in:
@@ -1479,6 +1479,7 @@ static int dtls_mainloop(worker_st * ws, struct dtls_st * dtls, struct timespec
|
||||
"error in DTLS handshake: %s\n",
|
||||
gnutls_strerror(ret));
|
||||
dtls->udp_state = UP_DISABLED;
|
||||
ev_io_stop(worker_loop, &dtls->io);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user