diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2021-09-18 09:29:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-18 09:29:45 +0200 |
commit | 227e586e63cb92c6982e1602dbec79891f3910aa (patch) | |
tree | ad8054c75bb787805f4c70819a198cbd821b6207 /src/lib/protocols/http.c | |
parent | 4539e96ce2a2366fb5a734161727c4e1c44afd3f (diff) |
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
Diffstat (limited to 'src/lib/protocols/http.c')
-rw-r--r-- | src/lib/protocols/http.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |