aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack_test.go
diff options
context:
space:
mode:
authorEliza Weisman <eliza@buoyant.io>2022-08-31 19:16:18 +0000
committerDaniel Martí <mvdan@mvdan.cc>2022-09-05 07:17:56 +0000
commit4e7e7ae1406c70d9cc0809ec11105a55a60a0b70 (patch)
tree4d2cb5ab49ac00936d3716506e26f75ba75ca8c2 /src/runtime/stack_test.go
parenta295890c5c8ebae9cba8f01ddcee2bded7dad404 (diff)
downloadgo-4e7e7ae1406c70d9cc0809ec11105a55a60a0b70.tar.xz
net/http: don't time out idle server connections after ReadHeaderTimeout
Consistently wait for idle connections to become readable before starting the ReadHeaderTimeout timer. Previously, connections with no idle timeout skipped directly to reading headers, so the ReadHeaderTimeout also included time spent idle. Fixes #54784 Change-Id: Iff1a876f00311d03dfa0fbef5b577506c62f7c41 GitHub-Last-Rev: 09332743ad6d5a9eb1137adaade2810c583d38ca GitHub-Pull-Request: golang/go#54785 Reviewed-on: https://go-review.googlesource.com/c/go/+/426895 Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Benny Siegert <bsiegert@gmail.com>
Diffstat (limited to 'src/runtime/stack_test.go')
0 files changed, 0 insertions, 0 deletions