mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
FileAnalysis: add unit tests covering current protocol integration.
And had to make various fixes/refinements after scrutinizing results.
This commit is contained in:
parent
b30211c178
commit
59ed5c75f1
72 changed files with 2605 additions and 53 deletions
|
@ -10,8 +10,8 @@ function get_file_handle(c: connection, is_orig: bool): string
|
|||
if ( ! c?$http ) return "";
|
||||
|
||||
if ( c$http$range_request )
|
||||
return fmt("%s http(%s): %s: %s", c$start_time, is_orig,
|
||||
c$id$orig_h, build_url(c$http));
|
||||
return fmt("http(%s): %s: %s", is_orig, c$id$orig_h,
|
||||
build_url(c$http));
|
||||
|
||||
return fmt("%s http(%s, %s): %s", c$start_time, is_orig,
|
||||
c$http$trans_depth, id_string(c$id));
|
||||
|
|
|
@ -74,7 +74,7 @@ export {
|
|||
|
||||
## Indicates if this request can assume 206 partial content in
|
||||
## response.
|
||||
range_request: bool &default=F;
|
||||
range_request: bool &default=F;
|
||||
};
|
||||
|
||||
## Structure to maintain state for an HTTP connection with multiple
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue