zeek/testing/btest/scripts/base/frameworks
Arne Welzel ecfa03ea1d input/Raw: Rework GetLine()
This isn't a straightforward fix, unfortunately. The existing GetLine()
implementation didn't deal well with input that's incrementally produced
where individually read chunks wouldn't end with the separator.

The prior implementation increased the buffer each time it failed to find
a separator in the current buffer, but then also ended up not searching the
full new buffer size for the terminator, doing that endlessly.

This change reworks the Raw reader to rely only on bufpos for reading
and searching purposes and skip reallocation if the buffer size if it
wasn't actually exhausted.

Closes #3957
2024-10-09 14:21:07 -07:00
..
analyzer Extend btest for logging of disabled analyzers 2024-07-09 20:15:46 +02:00
cluster cluster: Deprecate the Cluster::Node$interface field 2023-11-07 16:06:16 +01:00
config cluster: Deprecate the Cluster::Node$interface field 2023-11-07 16:06:16 +01:00
control Remove unnecessary -B arguments from Zeek invocations in testsuite 2021-06-24 17:05:32 -07:00
dpd Add DPD::max_violations option 2019-07-19 13:00:02 -07:00
file-analysis minor BTest generalizations & simplifications 2023-07-13 13:10:14 -07:00
input input/Raw: Rework GetLine() 2024-10-09 14:21:07 -07:00
intel Intel: Introduce Intel::seen_policy() hook 2024-01-25 12:22:47 +01:00
logging Remove prefix column from telemetry.log 2024-06-04 14:14:58 -07:00
netcontrol Netcontrol: add rule_added_policy 2024-02-05 18:52:27 +00:00
notice cluster: Deprecate the Cluster::Node$interface field 2023-11-07 16:06:16 +01:00
openflow cluster: Deprecate the Cluster::Node$interface field 2023-11-07 16:06:16 +01:00
packet-filter General btest cleanup 2020-08-11 11:26:22 -07:00
reporter General btest cleanup 2020-08-11 11:26:22 -07:00
software updates to btests to support switch to expression-based initialization 2022-03-23 15:36:35 -07:00
sumstats cluster: Deprecate the Cluster::Node$interface field 2023-11-07 16:06:16 +01:00
telemetry Update the scripts.base.frameworks.telemetry.internal-metrics test 2024-07-11 12:13:05 -07:00