diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-01-24 14:34:04 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-01-24 14:48:02 -0500 |
commit | 350a3c400ffe0a4c35a8f266c1add10207110b4c (patch) | |
tree | b9261596ad3f34b426d520e4a69138905e0807cb /http-internal.h | |
parent | ab14f7c140e1f11377975b2084087d27ac88e062 (diff) | |
download | libevent-350a3c400ffe0a4c35a8f266c1add10207110b4c.tar.gz |
New evhttp function to adjust initial retry timeout
Diffstat (limited to 'http-internal.h')
-rw-r--r-- | http-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/http-internal.h b/http-internal.h index 7fab6413..96e53725 100644 --- a/http-internal.h +++ b/http-internal.h @@ -86,6 +86,9 @@ struct evhttp_connection { struct timeval timeout; /* timeout for events */ int retry_cnt; /* retry count */ int retry_max; /* maximum number of retries */ + struct timeval initial_retry_timeout; /* Timeout for low long to wait + * after first failing attempt + * before retry */ enum evhttp_connection_state state; |