From d85f8592b8374e2b8f149ceae3c301c6499606d1 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Wed, 29 Nov 2023 19:44:25 +0100 Subject: Rework extraction of HTTP headers (#2183) Extract only the headers that we really need/use. Avoid too many `strcmp`; the algorithm might be a little bit overwhelming right now but it might be useful if we have further headers in the future. --- src/lib/protocols/fastcgi.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib/protocols/fastcgi.c') diff --git a/src/lib/protocols/fastcgi.c b/src/lib/protocols/fastcgi.c index e36311a8e..a96170b8b 100644 --- a/src/lib/protocols/fastcgi.c +++ b/src/lib/protocols/fastcgi.c @@ -96,7 +96,6 @@ static int fcgi_parse_params(struct ndpi_flow_struct * const flow, { "HTTP_HOST", &packet->host_line }, { "HTTP_ACCEPT", &packet->accept_line }, { "HTTP_USER_AGENT", &packet->user_agent_line }, - { "HTTP_ACCEPT_ENCODING", &packet->http_transfer_encoding }, { "SERVER_SOFTWARE", &packet->server_line }, { "REQUEST_METHOD", &packet->http_method } }; -- cgit v1.2.3