summaryrefslogtreecommitdiff
path: root/proxy.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-11 23:08:45 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-11 23:08:45 +0200
commit76e6067e13831569deca05dbb557d921998e3eb2 (patch)
tree0b2b1e9f24628d60b4d1ee6682a850eed19c569a /proxy.h
parent79354a389890a7ee4b6cd5b7d7044b521fb133a6 (diff)
Create a helper function to loop through different possible connections and convert proxy to use it
Diffstat (limited to 'proxy.h')
-rw-r--r--proxy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proxy.h b/proxy.h
index 735a12e..6b6e265 100644
--- a/proxy.h
+++ b/proxy.h
@@ -9,6 +9,7 @@ struct server_proxy {
uint64_t client_bytes;
int cfd;
+ struct connection server_conn;
struct sockaddr_in46 server;
char serverstr[ADDRSTRLEN];
struct uring_task_buf serverbuf;