From 227e586e63cb92c6982e1602dbec79891f3910aa Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Sat, 18 Sep 2021 09:29:45 +0200 Subject: A (tiny) effort to reduce memory usage per flow (#1304) Follow-up of 22241a1d Only trivial changes: * remove completely unused fields * remove fields only written (but never read) * CSGO protocol only handles UDP traffic --- src/lib/protocols/http.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib/protocols/http.c') diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index 0da3a16e7..725bc2edf 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -554,7 +554,6 @@ static void check_content_type_and_change_protocol(struct ndpi_detection_module_ flow->extra_packets_func = NULL; /* We're good now */ if(len > 0) ndpi_check_dga_name(ndpi_struct, flow, (char*)flow->host_server_name, 1); - flow->server_id = flow->dst; if(packet->forwarded_line.ptr) { len = ndpi_min(packet->forwarded_line.len, sizeof(flow->protos.http.nat_ip)-1); -- cgit v1.2.3