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

Patch by Eric Karasuda. I slightly tweaked the patch to not need a new member variable. Also turned the provided trace into a test case.
12 lines
419 B
Text
12 lines
419 B
Text
# This tests that the HTTP analyzer handles HTTP CONNECT proxying correctly
|
|
# when the server include a header line into its response.
|
|
#
|
|
# @TEST-EXEC: bro -C -r $TRACES/http/connect-with-header.trace %INPUT
|
|
# @TEST-EXEC: btest-diff conn.log
|
|
# @TEST-EXEC: btest-diff http.log
|
|
# @TEST-EXEC: btest-diff tunnel.log
|
|
|
|
@load base/protocols/conn
|
|
@load base/protocols/http
|
|
@load base/protocols/tunnels
|
|
@load base/frameworks/dpd
|