mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix file analysis placement of data after gap in HTTP Content-Range.
Addresses BIT-1248.
This commit is contained in:
parent
f1cef9d2a9
commit
1e02d5d5b5
4 changed files with 11 additions and 0 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue