Avoid buffering all http headers

Only buffer all http headers if the http_all_headers event is in use.
This commit is contained in:
Justin Azoff 2019-02-23 20:52:30 -05:00
parent a342090f18
commit bc1f2a0a63
3 changed files with 8 additions and 2 deletions

View file

@ -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()