mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

The current_entity tracking in HTTP assumes that client/server never send HTTP entities at the same time. The attached pcap (generated artificially) violates this and triggers: 1663698249.307259 expression error in <...>base/protocols/http/./entities.zeek, line 89: field value missing (HTTP::c$http$current_entity) For the http-no-crlf test, include weird.log as baseline. Now that weird is @load'ed from http, it is actually created and seems to make sense to btest-diff it, too.
9 lines
295 B
Text
9 lines
295 B
Text
# This tests that the HTTP analyzer handles HTTP with no CRLF at end correctly.
|
|
|
|
# @TEST-EXEC: zeek -b -r $TRACES/http/no_crlf.pcap %INPUT
|
|
# @TEST-EXEC: btest-diff conn.log
|
|
# @TEST-EXEC: btest-diff http.log
|
|
# @TEST-EXEC: btest-diff weird.log
|
|
|
|
@load base/protocols/conn
|
|
@load base/protocols/http
|