We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting the timeout -t flag to 0, like -t 0 leaves timeout as default value of 120 seconds, instead disabling the timeout.
-t
0
-t 0
Run http-server -p 8000 -t0
http-server -p 8000 -t0
Connection Timeout: disabled in the output string
Connection Timeout: disabled
Connection Timeout: 120 seconds in the output string
Connection Timeout: 120 seconds
http-server -p 8000 -t1 gives correct output of Connection Timeout: 1 seconds
http-server -p 8000 -t1
Connection Timeout: 1 seconds
The text was updated successfully, but these errors were encountered:
This issue has been inactive for 180 days
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Setting the timeout
-t
flag to0
, like-t 0
leaves timeout as default value of 120 seconds, instead disabling the timeout.Environment Versions
Steps to reproduce
Run
http-server -p 8000 -t0
Expected result
Connection Timeout: disabled
in the output stringActual result
Connection Timeout: 120 seconds
in the output stringOther information
http-server -p 8000 -t1
gives correct output ofConnection Timeout: 1 seconds
The text was updated successfully, but these errors were encountered: