HTTP: Restore SSTP support

Add exclusion for SSTP having Contents-Length and no body.
Closes #17024


(cherry picked from commit 0250e4e2e4)
This commit is contained in:
Jaap Keuter 2020-11-18 11:22:38 +00:00
parent d304fa8431
commit dd88e7a90b
1 changed files with 3 additions and 1 deletions

View File

@ -1184,7 +1184,9 @@ dissect_http_message(tvbuff_t *tvb, int offset, packet_info *pinfo,
*/
gint response_code = parse_http_status_code(firstline, firstline + first_linelen);
if ((g_strcmp0(conv_data->request_method, "HEAD") == 0 ||
(response_code / 100 == 2 && g_strcmp0(conv_data->request_method, "CONNECT") == 0) ||
(response_code / 100 == 2 &&
(g_strcmp0(conv_data->request_method, "CONNECT") == 0 ||
g_strcmp0(conv_data->request_method, "SSTP_DUPLEX_POST") == 0)) ||
response_code / 100 == 1 ||
response_code == 204 ||
response_code == 304)) {