diff options
| author | Julian Tibble <tibbes@github.com> | 2024-02-14 13:24:52 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-02-20 14:56:00 +0000 |
| commit | 098a87fb1930b9ef99d394fe1bca75f1bd74ce8d (patch) | |
| tree | 2c9755a238c8c7895fe139c309d390e2c2b77545 /src/runtime/internal/syscall | |
| parent | d42cd452dcca76819dd385a7775f8453d6255dbd (diff) | |
| download | go-098a87fb1930b9ef99d394fe1bca75f1bd74ce8d.tar.xz | |
net/http: add missing call to decConnsPerHost
A recent change to Transport.dialConnFor introduced an early return that
skipped dialing. This path did not call decConnsPerHost, which can cause
subsequent HTTP calls to hang if Transport.MaxConnsPerHost is set.
Fixes: #65705
Change-Id: I157591114b02a3a66488d3ead7f1e6dbd374a41c
Reviewed-on: https://go-review.googlesource.com/c/go/+/564036
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/runtime/internal/syscall')
0 files changed, 0 insertions, 0 deletions
