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

And remove unnecessary check for mime_all_headers in HTTP entities (they ony raise the http_all_headers event, never mime_all_headers).
16 lines
349 B
Text
16 lines
349 B
Text
# @TEST-EXEC: zeek -b -r $TRACES/smtp.trace %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
@load base/protocols/smtp
|
|
|
|
event http_all_headers(c: connection, is_orig: bool, hlist: mime_header_list)
|
|
{
|
|
print "http_all_headers";
|
|
print hlist;
|
|
}
|
|
|
|
event mime_all_headers(c: connection, hlist: mime_header_list)
|
|
{
|
|
print "mime_all_headers";
|
|
print hlist;
|
|
}
|