You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A HTTP/2 handler that writes to the ResponseWriter after Server.WriteTimeout has expired gets a http2: stream closed error. It should get an error for which errors.Is(err, os.ErrDeadlineExceeded) is true.
Activity
gopherbot commentedon Oct 28, 2022
Change https://go.dev/cl/446255 mentions this issue:
net/http: add tests for Server.ReadTimeout and server.WriteTimeout
gopherbot commentedon Oct 28, 2022
Change https://go.dev/cl/446257 mentions this issue:
http2: return os.ErrDeadlineExceeded from timed-out response body writes
http2: return os.ErrDeadlineExceeded from timed-out response body writes
net/http: add tests for Server.ReadTimeout and server.WriteTimeout
http2: return os.ErrDeadlineExceeded from timed-out response body writes
odeke-em commentedon Jan 25, 2024
@neild I believe you fixed this issue in https://go-review.googlesource.com/c/net/+/446257 hence I shall close this issue, please reopen if otherwise and thank you for reporting plus fixing it!