summaryrefslogtreecommitdiff
path: root/proxy.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-10 21:20:46 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-10 21:20:46 +0200
commit097a84d8d1a041a66c9b0b51c7f89e70dec13b0a (patch)
tree211f4ea301e68b67012035e2a75744ae50ec0d08 /proxy.h
parent11e6254179cb78412f40d2a263bf4fb40dd7f2ff (diff)
Implement proper proxy shutdown
Diffstat (limited to 'proxy.h')
-rw-r--r--proxy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/proxy.h b/proxy.h
index 62ac5b7..735a12e 100644
--- a/proxy.h
+++ b/proxy.h
@@ -16,7 +16,9 @@ struct server_proxy {
uint64_t server_bytes;
int sfd;
+ time_t begin;
unsigned next_remote;
+ struct uring_task task;
struct server *scfg;
struct list_head list;
};