Open
Description
Setting the timeout -t
flag to 0
, like -t 0
leaves timeout as default value of 120 seconds, instead disabling the timeout.
Environment Versions
- OS Type: Manjaro Linux GNOME
- Node version: v17.7.1
- http-server version: v14.1.0
Steps to reproduce
Run http-server -p 8000 -t0
Expected result
Connection Timeout: disabled
in the output string
Actual result
Connection Timeout: 120 seconds
in the output string
Other information
http-server -p 8000 -t1
gives correct output of Connection Timeout: 1 seconds