]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fixed client hang when server don't PUSH (aka the NO_SOUP_FOR_YOU patch)
authorDavid Sommerseth <dazo@users.sourceforge.net>
Sat, 12 Jun 2010 22:35:55 +0000 (00:35 +0200)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Thu, 21 Oct 2010 09:40:36 +0000 (11:40 +0200)
commite0221d9d4d4329918d914ddcce188d0dc7c99357
tree3fb5d79caf0a6eb86880d87d45c0ae8e52814f6f
parentd2ad24c062c0d1870d826ecbb9506f893896f50c
Fixed client hang when server don't PUSH (aka the NO_SOUP_FOR_YOU patch)

Solves bug ticket 13
<https://community.openvpn.net/openvpn/ticket/13>

When the client sends PUSH_REQUESTS, it waits until the server sends PUSH_REPLY.
If the server do not have anything to push to the client nothing happens.  The
client will then regularly send new PUSH_REQUESTS until it gets an answer, which
results in not completing the connection negotiation.

This patch makes the server send an empty PUSH_REPLY when it has nothing to more
to push to the client.

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: James Yonan <james@openvpn.net>
push.c