mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Avoid buffering all http headers
Only buffer all http headers if the http_all_headers event is in use.
This commit is contained in:
parent
a342090f18
commit
bc1f2a0a63
3 changed files with 8 additions and 2 deletions
|
@ -53,6 +53,7 @@ HTTP_Entity::HTTP_Entity(HTTP_Message *arg_message, MIME_Entity* parent_entity,
|
|||
offset = 0;
|
||||
instance_length = -1; // unspecified
|
||||
send_size = true;
|
||||
want_all_headers = (bool)http_all_headers;
|
||||
}
|
||||
|
||||
void HTTP_Entity::EndOfData()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue