Skip to content

Commit c168b13

Browse files
authored
Fix validation regex for proxy.config.http2.default_buffer_water_mark (#12472)
1 parent 9d9a8fa commit c168b13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/records/RecordsConfig.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,7 @@ static constexpr RecordElement RecordsConfig[] =
13691369
,
13701370
{RECT_CONFIG, "proxy.config.http2.write_time_threshold", RECD_INT, "100", RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
13711371
,
1372-
{RECT_CONFIG, "proxy.config.http2.default_buffer_water_mark", RECD_INT, "-1", RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
1372+
{RECT_CONFIG, "proxy.config.http2.default_buffer_water_mark", RECD_INT, "-1", RECU_DYNAMIC, RR_NULL, RECC_STR, "^-?[0-9]+$", RECA_NULL}
13731373
,
13741374

13751375
//############

0 commit comments

Comments
 (0)