Convert more redef-able constants to runtime options

This commit is contained in:
Daniel Thayer 2018-08-27 19:38:47 -05:00
parent fd1a23ea66
commit 9bfc01b705
11 changed files with 14 additions and 14 deletions

View file

@ -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.