diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2020-11-18 12:22:38 +0100 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2020-11-18 12:48:47 +0000 |
commit | 0250e4e2e44a73773dbaad64cfb244a0db463d7e (patch) | |
tree | 315466c04a7f515f69aa340565a95808965161ec /epan/dissectors/packet-http.c | |
parent | 5d374fed36d06d745440123944cbbeebaf7fcb20 (diff) |
HTTP: Restore SSTP support
Add exclusion for SSTP having Contents-Length and no body.
Closes #17024
Diffstat (limited to 'epan/dissectors/packet-http.c')
-rw-r--r-- | epan/dissectors/packet-http.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-http.c b/epan/dissectors/packet-http.c index 8edd0586bd..c44d89782c 100644 --- a/epan/dissectors/packet-http.c +++ b/epan/dissectors/packet-http.c @@ -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)) { |