Reputation: 20412
Does the Go server have an http
keep-alive default timeout value?
How do you set a custom keep-alive timeout?
Is the server's ReadTimeout
related to the keep-alive timeout at all? or you need to set the keep-alive timeout directly in the http
response header?
Upvotes: 2
Views: 3323
Reputation: 479
This issue shows they made the ReadTimeout server setting be per-request not per connection. This is the value you are looking to set to timeout keep-alives.
Upvotes: 1