diff options
author | Niels Provos <provos@gmail.com> | 2006-11-22 06:54:28 +0000 |
---|---|---|
committer | Niels Provos <provos@gmail.com> | 2006-11-22 06:54:28 +0000 |
commit | 2d028ef6c189a2c53d64ca9d1ceff813d62755f0 (patch) | |
tree | a8d6203cefd1a1cd76b48914cf6d05e75b143505 /evrpc-internal.h | |
parent | ce436242ad05172d2abe53ed83ab46f956edc789 (diff) | |
download | libevent-2d028ef6c189a2c53d64ca9d1ceff813d62755f0.tar.gz |
fix a bug where rpc would not be scheduled when they were queued; test for it.
allow a configurable timeout for connections and RPCs.
svn:r274
Diffstat (limited to 'evrpc-internal.h')
-rw-r--r-- | evrpc-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/evrpc-internal.h b/evrpc-internal.h index de2ab47d..656533b6 100644 --- a/evrpc-internal.h +++ b/evrpc-internal.h @@ -48,6 +48,8 @@ void evrpc_reqstate_free(struct evrpc_req_generic* rpc_state); struct evrpc_pool { struct evconq connections; + int timeout; + TAILQ_HEAD(evrpc_requestq, evrpc_request_wrapper) requests; }; |