mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Convert more redef-able constants to runtime options
This commit is contained in:
parent
fd1a23ea66
commit
9bfc01b705
11 changed files with 14 additions and 14 deletions
|
@ -7,10 +7,10 @@ module ActiveHTTP;
|
|||
|
||||
export {
|
||||
## The default timeout for HTTP requests.
|
||||
const default_max_time = 1min &redef;
|
||||
option default_max_time = 1min;
|
||||
|
||||
## The default HTTP method/verb to use for requests.
|
||||
const default_method = "GET" &redef;
|
||||
option default_method = "GET";
|
||||
|
||||
type Response: record {
|
||||
## Numeric response code from the server.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue