summaryrefslogtreecommitdiff
path: root/proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'proxy.h')
-rw-r--r--proxy.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/proxy.h b/proxy.h
index 6b6e265..838cbb5 100644
--- a/proxy.h
+++ b/proxy.h
@@ -2,16 +2,13 @@
#define fooproxyhfoo
struct server_proxy {
- struct sockaddr_in46 client;
- char clientstr[ADDRSTRLEN];
+ struct connection client_conn;
struct uring_task_buf clientbuf;
struct uring_task clienttask;
uint64_t client_bytes;
int cfd;
struct connection server_conn;
- struct sockaddr_in46 server;
- char serverstr[ADDRSTRLEN];
struct uring_task_buf serverbuf;
struct uring_task servertask;
uint64_t server_bytes;