]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Change pull request timeout use a timeout rather than a number
authorArne Schwabe <arne@rfc2549.org>
Mon, 25 Jan 2021 12:56:18 +0000 (13:56 +0100)
committerGert Doering <gert@greenie.muc.de>
Sat, 30 Jan 2021 18:50:04 +0000 (19:50 +0100)
commit413580b6a41d7eefb35438701fc79a63e0344ced
treef2812741420ab6d88f41c8a15770e8d9e78319bc
parentce652e7d3865dcdebfdc9233d9f46dfbcc2a6e2b
Change pull request timeout use a timeout rather than a number

This commit changes the count n_sent_push_requests to time_t based
push_request_timeout. This is more in line to our other timeouts which
are also time based instead of number retries based.

This does not change the behaviour but it prepares allowing to extend
the pull request timeout during a pending authentication. As a user
visible change we print the the time we waited for a timeout instead

Also update the man page to actually document that hand-window controls
this timeout.

Patch V2: grammar fix in manual page

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <20210125125628.30364-2-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21490.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/man-sections/tls-options.rst
src/openvpn/forward.c
src/openvpn/openvpn.h
src/openvpn/push.c