summaryrefslogtreecommitdiff
path: root/server-proxy.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-22 21:59:14 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-22 21:59:14 +0200
commit9295a00a976df83d2c35a6dc56ceb35c05f692dd (patch)
treece5c72b18357400c0472960605dd12355107f7cc /server-proxy.h
parent3d7ae10a541629727844163f7d64507baedd6c78 (diff)
Fixup server connection timeouts
Diffstat (limited to 'server-proxy.h')
-rw-r--r--server-proxy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/server-proxy.h b/server-proxy.h
index 14d176d..ee3bda3 100644
--- a/server-proxy.h
+++ b/server-proxy.h
@@ -16,8 +16,9 @@ struct server_proxy {
int spipe[2];
int sfd;
+ bool connecting;
time_t begin;
- unsigned next_remote;
+ struct ptimer_task ptask;
struct uring_task task;
struct server *server;
struct list_head list;