]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix client connection instant timeout
authorDavid Sommerseth <davids@openvpn.net>
Thu, 25 Aug 2016 20:42:03 +0000 (22:42 +0200)
committerDavid Sommerseth <davids@openvpn.net>
Fri, 26 Aug 2016 15:12:03 +0000 (17:12 +0200)
commit4db062901fba790ac35cbf0cdd360306d8f2b81f
tree0187154e46b5db54cbef230c3e00d8ff87210152
parentb3e975824ea9ebae8dbea5b451c8d02525c83ffe
Fix client connection instant timeout

Commit b3e975824ea9ebae8dbea5b451c8d02525c83ffe moved the finalizing of
TCP/UDP sockets before the UID/GID where dropped.  But this did not
factor that the timeout code had been revamped [1] in the mean time.

This ensures the timout initialization is done before the the socket
finalizing has been completed.

[1] commit f2134b7bea37df15756c599b94f16d4bffafbbd6

Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: 1472162097-17855-1-git-send-email-davids@openvpn.net
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg00125.html
src/openvpn/init.c