[PATCH 10/11] HTTP: removed unused nxt_http_cookie_t structure.

Andrew Clayton andrew at digital-domain.net
Thu Jun 16 01:01:00 UTC 2022


Turns out that struct nxt_http_cookie_t is completely unused.
---
 src/nxt_http_route.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/nxt_http_route.c b/src/nxt_http_route.c
index f702399..d1fe298 100644
--- a/src/nxt_http_route.c
+++ b/src/nxt_http_route.c
@@ -79,15 +79,6 @@ typedef struct {
 } nxt_http_route_pattern_t;
 
 
-typedef struct {
-    uint16_t                       hash;
-    uint16_t                       name_length;
-    uint32_t                       value_length;
-    u_char                         *name;
-    u_char                         *value;
-} nxt_http_cookie_t;
-
-
 struct nxt_http_route_rule_s {
     /* The object must be the first field. */
     nxt_http_route_object_t        object:8;
-- 
2.36.1



More information about the unit mailing list