mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
worker: increase the waiting time of cookie auth message
This allows the connect-script to run for more time than
the default socket timeout, and be limited by the configured
authentication timeout ("auth-timeout").
This commit is contained in:
committed by
GitLab
parent
176ba796c5
commit
83f600afda
@@ -556,7 +556,7 @@ static int recv_cookie_auth_reply(worker_st * ws)
|
||||
ret = recv_socket_msg(ws, ws->cmd_fd, AUTH_COOKIE_REP, &socketfd,
|
||||
(void *)&msg,
|
||||
(unpack_func) auth_cookie_reply_msg__unpack,
|
||||
DEFAULT_SOCKET_TIMEOUT);
|
||||
ws->config->auth_timeout);
|
||||
if (ret < 0) {
|
||||
oclog(ws, LOG_ERR, "error receiving auth reply message");
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user