diff options
author | Omar Polo <op@omarpolo.com> | 2022-01-01 16:33:44 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2022-01-01 16:33:44 +0000 |
commit | d49093c105e7e9af2638bce945374ac0036b3498 (patch) | |
tree | 813102bedbdfb4ead9fe520c2dea30b966a02578 /gmid.h | |
parent | da2185f37f70f8665c4d800f8f9bbf4027fd7b81 (diff) |
support optional client certificate for proxy rule
Diffstat (limited to 'gmid.h')
-rw-r--r-- | gmid.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -113,6 +113,10 @@ struct location { char *proxy_host; const char *proxy_port; + uint8_t *proxy_cert; + size_t proxy_cert_len; + uint8_t *proxy_key; + size_t proxy_key_len; const char *dir; int dirfd; @@ -238,6 +242,7 @@ struct client { struct sockaddr_storage addr; struct vhost *host; /* host they're talking to */ size_t loc; /* location matched */ + struct location *l; SPLAY_ENTRY(client) entry; }; |