Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http2: return os.ErrDeadlineExceeded from timed-out response body writes
When a server handler writes to a response body after Server.WriteTimeout has expired, return an error matching os.ErrDeadlineExceeded rather than "http2: stream closed". Tested by net/http CL 446255. For golang/go#56478 Change-Id: I94494cc7e7f8f9a01a663de09fd5b73acc8ea4e4 Reviewed-on: https://go-review.googlesource.com/c/net/+/446257 Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com>
- Loading branch information