mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/gh-854-preserve-header-name'
* origin/topic/jsiwek/gh-854-preserve-header-name: GH-854: provide access to original HTTP/MIME header names
This commit is contained in:
commit
faa8a38578
11 changed files with 174 additions and 146 deletions
|
@ -1670,8 +1670,9 @@ void HTTP_Analyzer::HTTP_Header(bool is_orig, mime::MIME_Header* h)
|
|||
DEBUG_MSG("%.6f http_header\n", network_time);
|
||||
|
||||
EnqueueConnEvent(http_header,
|
||||
ConnVal(),
|
||||
val_mgr->Bool(is_orig),
|
||||
IntrusivePtr{AdoptRef{}, BuildConnVal()},
|
||||
IntrusivePtr{AdoptRef{}, val_mgr->GetBool(is_orig)},
|
||||
IntrusivePtr{AdoptRef{}, mime::new_string_val(h->get_name())},
|
||||
IntrusivePtr{AdoptRef{}, mime::new_string_val(h->get_name())->ToUpper()},
|
||||
IntrusivePtr{AdoptRef{}, mime::new_string_val(h->get_value())}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue