Fix file analysis placement of data after gap in HTTP Content-Range.

Addresses BIT-1248.
This commit is contained in:
Jon Siwek 2014-09-11 12:25:43 -05:00
parent f1cef9d2a9
commit 1e02d5d5b5
4 changed files with 11 additions and 0 deletions

View file

@ -243,10 +243,13 @@ int HTTP_Entity::Undelivered(int64_t len)
return 0;
if ( is_partial_content )
{
precomputed_file_id = file_mgr->Gap(body_length, len,
http_message->MyHTTP_Analyzer()->GetAnalyzerTag(),
http_message->MyHTTP_Analyzer()->Conn(),
http_message->IsOrig(), precomputed_file_id);
offset += len;
}
else
precomputed_file_id = file_mgr->Gap(body_length, len,
http_message->MyHTTP_Analyzer()->GetAnalyzerTag(),