mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Add NCP::max_frame_size tuning option
This helps prevent excessive allocations based on message lengths taken from NCP headers.
This commit is contained in:
parent
e35da5f592
commit
58864c358c
7 changed files with 487 additions and 15 deletions
|
@ -4806,6 +4806,12 @@ export {
|
|||
const max_frag_data = 30000 &redef;
|
||||
}
|
||||
|
||||
module NCP;
|
||||
export {
|
||||
## The maximum number of bytes to allocate when parsing NCP frames.
|
||||
const max_frame_size = 65536 &redef;
|
||||
}
|
||||
|
||||
module Cluster;
|
||||
export {
|
||||
type Cluster::Pool: record {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue