Timeout must be positive.
MFC after: 1 week
This commit is contained in:
parent
488ea46b7d
commit
959bc74175
@ -461,6 +461,10 @@ compression_type:
|
||||
|
||||
timeout_statement: TIMEOUT NUM
|
||||
{
|
||||
if ($2 <= 0) {
|
||||
pjdlog_error("Negative or zero timeout.");
|
||||
return (1);
|
||||
}
|
||||
switch (depth) {
|
||||
case 0:
|
||||
depth0_timeout = $2;
|
||||
|
Loading…
Reference in New Issue
Block a user