aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/fastcgi.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-11-29 19:44:25 +0100
committerGitHub <noreply@github.com>2023-11-29 19:44:25 +0100
commitd85f8592b8374e2b8f149ceae3c301c6499606d1 (patch)
treec51a76d39d506b7fe47eac30d6d528cd819aa6cc /src/lib/protocols/fastcgi.c
parent1100326edbba7cea6aee266ad948401128bc26dd (diff)
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.
Diffstat (limited to 'src/lib/protocols/fastcgi.c')
-rw-r--r--src/lib/protocols/fastcgi.c1
1 files changed, 0 insertions, 1 deletions
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 }
};