diff options
author | 2025-01-22 10:31:22 -0500 | |
---|---|---|
committer | 2025-01-23 18:28:21 +0000 | |
commit | 7267149267fae4bb814af441fabb42767c1a720d (patch) | |
tree | 20007e98b8deb81d530fd8f7188f2ffd5aa3cd8c /src/plugins/hs_apps/proxy.h | |
parent | 6501202fa02300ebafdb3d799bbe13e1617ac57c (diff) |
http: move header serialization to http transport
Apps called http_serialize_headers, which creates plain text buffer,
this is now hidden in http transport layer and apps pass headers in
generic form, so they can be encoded based on http version.
Type: improvement
Change-Id: Ie4fa0516cd3406d60f956751c8ee7ab40e633fa4
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/hs_apps/proxy.h b/src/plugins/hs_apps/proxy.h index 814bebfe6cb..f26f4bf0ea2 100644 --- a/src/plugins/hs_apps/proxy.h +++ b/src/plugins/hs_apps/proxy.h @@ -90,7 +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; + http_headers_ctx_t capsule_proto_header; + u8 *capsule_proto_header_buf; /* * Configuration params |