mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/http-multipart-byteranges'
* origin/topic/jsiwek/http-multipart-byteranges: Teach HTTP parser to derive content length of multipart/byteranges bodies. Closes #448.
This commit is contained in:
commit
5f7aed6687
3 changed files with 67 additions and 2 deletions
|
@ -163,6 +163,9 @@ public:
|
|||
|
||||
void SkipEntityData(int is_orig);
|
||||
|
||||
int IsConnectionClose() { return connection_close; }
|
||||
int HTTP_ReplyCode() const { return reply_code; };
|
||||
|
||||
// Overriden from Analyzer.
|
||||
virtual void Done();
|
||||
virtual void DeliverStream(int len, const u_char* data, bool orig);
|
||||
|
@ -183,8 +186,6 @@ public:
|
|||
http_content_type || http_entity_data || http_message_done ||
|
||||
http_event || http_stats) && !FLAGS_use_binpac; }
|
||||
|
||||
int IsConnectionClose() { return connection_close; }
|
||||
|
||||
protected:
|
||||
void GenStats();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue