testing/http: Add pcap extracted from m5-long external test-suite

This tests that the HTTP version is now updated if it changes in the
course of a connection.
This commit is contained in:
Arne Welzel 2022-11-30 15:59:45 +01:00
parent dab551aaa3
commit 0b26866ecf
4 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,7 @@
# @TEST-DOC: Pcap extracted from 2009-M57-day11-18.trace: The server replies with HTTP/1.1, then HTTP/1.0 (also different Server headers).
# @TEST-EXEC: zeek -b -Cr $TRACES/http/version-mismatch.pcap %INPUT
# @TEST-EXEC: btest-diff http.log
# @TEST-EXEC: btest-diff weird.log
@load base/protocols/http
@load base/frameworks/notice/weird