Y
Hacker News
new
|
ask
|
show
|
jobs
by
beranabus
1554 days ago
The go version seems to be missing timeouts. There is none by default and the --connect-timeout flag is not setting one either.
1 comments
chockchocschoir
1554 days ago
Rightly so. Unless you specify `--max-time` in your cURL invocation, all the examples should be missing timeouts, as cURL by default doesn't have any timeouts, only if you specify `--max-time N`.
link