Module: kamailio
Branch: master
Commit: 702e9cdbe8c6ca5856c25f9737d77e3223bbf9ce
URL: 
https://github.com/kamailio/kamailio/commit/702e9cdbe8c6ca5856c25f9737d77e3223bbf9ce

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2024-04-12T21:59:44+02:00

nghttp2: structure to hold headers in stream data

---

Modified: src/modules/nghttp2/nghttp2_server.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/702e9cdbe8c6ca5856c25f9737d77e3223bbf9ce.diff
Patch: 
https://github.com/kamailio/kamailio/commit/702e9cdbe8c6ca5856c25f9737d77e3223bbf9ce.patch

---

diff --git a/src/modules/nghttp2/nghttp2_server.h 
b/src/modules/nghttp2/nghttp2_server.h
index cad3772d9ef..8b343fd11ce 100644
--- a/src/modules/nghttp2/nghttp2_server.h
+++ b/src/modules/nghttp2/nghttp2_server.h
@@ -66,12 +66,20 @@
 struct app_context;
 typedef struct app_context app_context;
 
+typedef struct http2_msghdr
+{
+       str name;
+       str value;
+       struct http2_msghdr *next;
+} http2_msghdr_t;
+
 typedef struct http2_stream_data
 {
        struct http2_stream_data *prev, *next;
        char *request_path;
        char *request_pathfull;
        char *request_method;
+       ttp2_msghdr_t *hdrlist;
        int32_t stream_id;
        int fd;
 } http2_stream_data;

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to