Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix reconnect issues when --push and UDP is used on the server
When the server is configured with UDP and --push statements, reconnecting often fails by the client never receiving PUSH_REPLY. The client sends PUSH_REQUEST and the server logs these requests but does not send them. This bug got introduced in commit ff65da3 which tries to avoid sending duplicated PUSH messages if the client/server connection is slow. This patch keeps this behaviour, but instead of a session wide PUSH_REPLY block it sets an expiry time for the PUSH_REPLY block. The expiry time is set to 30 seconds. Signed-off-by: David Sommerseth <[email protected]> Cc: James Yonan <[email protected]> Acked-by: Gert Doering <[email protected]> Acked-by: James Yonan <[email protected]> Message-Id: [email protected] URL: http://article.gmane.org/gmane.network.openvpn.devel/7044
- Loading branch information