diff options
author | 2024-12-10 16:15:06 +0100 | |
---|---|---|
committer | 2025-01-09 10:59:16 +0000 | |
commit | c19cca931af3baf847d66bce9e5dd660861fc92e (patch) | |
tree | a36f0ba9f31c379984a3de4dfb54baa8808f5bbe /src/plugins/hs_apps/proxy.h | |
parent | e89c97a3ee1538f3693fcd298831952d5df19ec2 (diff) |
hsa: proxying UDP in HTTP/1.1
Type: feature
Change-Id: Ic0ff9b9bfbad9fbc602fbcec0d8906cd21d63a2c
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src/plugins/hs_apps/proxy.h')
-rw-r--r-- | src/plugins/hs_apps/proxy.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/hs_apps/proxy.h b/src/plugins/hs_apps/proxy.h index 276133ba418..814bebfe6cb 100644 --- a/src/plugins/hs_apps/proxy.h +++ b/src/plugins/hs_apps/proxy.h @@ -26,6 +26,8 @@ #include <vnet/session/session.h> #include <vnet/session/application_interface.h> +#include <http/http.h> + #define foreach_proxy_session_side_state \ _ (CREATED, "created") \ _ (CONNECTING, "connecting") \ @@ -80,6 +82,7 @@ typedef struct proxy_session_t *sessions; /**< session pool, shared */ clib_spinlock_t sessions_lock; /**< lock for session pool */ u8 **rx_buf; /**< intermediate rx buffers */ + http_header_table_t *req_headers; /**< HTTP request headers */ u32 server_client_index; /**< server API client handle */ u32 server_app_index; /**< server app index */ @@ -87,6 +90,8 @@ typedef struct u32 active_open_app_index; /**< active open index after attach */ u32 ckpair_index; /**< certkey pair index for tls */ + u8 *capsule_proto_header; + /* * Configuration params */ |