diff options
author | Vitaly Lavrov <vel21ripn@gmail.com> | 2021-07-07 12:32:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 14:32:57 +0200 |
commit | 398ad8e5ffc69640d5a41ef73d0c2f146bc94f06 (patch) | |
tree | dbf759f35d3a7af0e741a2ed14e47c31794c5224 /tests | |
parent | 34d0718bca499bafef5786577a25173ef20f18f3 (diff) |
Fix for #1230 (#1235)
* Revert "Fix return value of ndpi_match_string_subprotocol() (#1230)"
This reverts commit 58665e93a98d014b53d131b2481ccab074efc9ff.
* Checking the return code after calling ndpi_match_string_subprotocol()
ndpi_api.h: Description of the returned error codes for
the ndpi_match_string_subprotocol() function.
If the ndpi_match_string_subprotocol() function returned an error,
then return NDPI_PROTOCOL_UNKNOWN.
http: The "Content-type" header is only checked if it is not empty.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions