mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
Merge branch 'issue400' into 'master'
Close fd and stop ev_io on failed handshake. Closes #400 See merge request openconnect/ocserv!253
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