diff options
author | Luca Deri <deri@ntop.org> | 2019-04-01 12:30:51 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-04-01 12:30:51 +0200 |
commit | 1915a63cf29fbe3d2b0a983b2875929518d242ad (patch) | |
tree | 16188798aca458c67fb073edee6368854a60f4f9 /src/lib/protocols/http.c | |
parent | c496c7975f5d95fb4e1b9774c3592713cda78206 (diff) |
Implemented ndpi_process_partial_detection() API call to handle partial matches due to the nDPI specified configuration
Diffstat (limited to 'src/lib/protocols/http.c')
-rw-r--r-- | src/lib/protocols/http.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index fc392c2b7..33ef9e2ed 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -157,7 +157,9 @@ static void check_content_type_and_change_protocol(struct ndpi_detection_module_ } #endif - if(!ndpi_struct->http_dont_dissect_response) { + /* Leave the statement below commented necessary in case of call to ndpi_get_partial_detection() */ + + /* if(!ndpi_struct->http_dont_dissect_response) */ { if((flow->http.url == NULL) && (packet->http_url_name.len > 0) && (packet->host_line.len > 0)) { |