summaryrefslogtreecommitdiff
path: root/http-internal.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-01-24 14:34:04 -0500
committerNick Mathewson <nickm@torproject.org>2012-01-24 14:48:02 -0500
commit350a3c400ffe0a4c35a8f266c1add10207110b4c (patch)
treeb9261596ad3f34b426d520e4a69138905e0807cb /http-internal.h
parentab14f7c140e1f11377975b2084087d27ac88e062 (diff)
downloadlibevent-350a3c400ffe0a4c35a8f266c1add10207110b4c.tar.gz
New evhttp function to adjust initial retry timeout
Diffstat (limited to 'http-internal.h')
-rw-r--r--http-internal.h3
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;