Commit 5cc6d714 authored by Niels Möller's avatar Niels Möller
Browse files

Fixed mixed up values of TRANSPORT_TIMEOUT_REEXCHANGE and TRANSPORT_TIMEOUT_CLOSE.

Rev: src/transport.c:1.10
parent fc92d84a
......@@ -46,14 +46,14 @@
/* Maximum time for keyexchange to complete */
#define TRANSPORT_TIMEOUT_KEYEXCHANGE (10 * 60)
/* Session key lifetime */
#define TRANSPORT_TIMEOUT_REEXCHANGE (5 * 60)
/* FIXME: Make configurable. Different timeouts can be used by client
and server, and artificially small timeouts are useful for
testing. */
/* Session key lifetime */
#define TRANSPORT_TIMEOUT_REEXCHANGE (40 * 60)
/* Time to wait for write buffer to drain after disconnect */
#define TRANSPORT_TIMEOUT_CLOSE (40 * 60)
#define TRANSPORT_TIMEOUT_CLOSE (5 * 60)
void
init_transport_connection(struct transport_connection *self,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment