diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2009-09-28 07:27:22 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2009-09-28 07:27:22 +0000 |
commit | e1e977f3cc52e230031f8770b0a9c977eab7db69 (patch) | |
tree | b388e4c981ee17ebc53e4baf621b103cf839fc00 /ssl.h | |
parent | Eliminated the limitation on the number of options that can be pushed (diff) | |
download | openvpn-e1e977f3cc52e230031f8770b0a9c977eab7db69.tar.xz |
Added --server-poll-timeout option : when polling possible remote
servers to connect to in a round-robin fashion, spend no more than
n seconds waiting for a response before trying the next server.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5010 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'ssl.h')
-rw-r--r-- | ssl.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -703,6 +703,12 @@ bool tls_authenticate_key (struct tls_multi *multi, const unsigned int mda_key_i */ static inline bool +tls_initial_packet_received (const struct tls_multi *multi) +{ + return multi->n_sessions > 0; +} + +static inline bool tls_test_auth_deferred_interval (const struct tls_multi *multi) { if (multi) |