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:
Robin Sommer 2011-09-28 17:40:36 -07:00
commit 5f7aed6687
3 changed files with 67 additions and 2 deletions

View file

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