diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2021-06-24 18:30:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-24 18:30:34 +0200 |
commit | f8fe3ee5200ed7a8f594dd63f74f5fee164e9a8b (patch) | |
tree | f316b529f8ff4c08893307733af080894ff69ef3 /src/lib/ndpi_main.c | |
parent | 6a1fd9ad97e6226bb4d186762fefa50737270c52 (diff) |
QUIC: add basic support for fragmented Client Hello (#1216)
Only in-order and non overlapping fragments are handled
See #1195
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 00ebb1cc6..1a4f0aef9 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -4158,6 +4158,11 @@ void ndpi_free_flow_data(struct ndpi_flow_struct* flow) { if(flow->l4.tcp.tls.message.buffer) ndpi_free(flow->l4.tcp.tls.message.buffer); } + + if(flow->l4_proto == IPPROTO_UDP) { + if(flow->l4.udp.quic_reasm_buf) + ndpi_free(flow->l4.udp.quic_reasm_buf); + } } } |