Commit 43b9fcf6 authored by Michael Fraenkel's avatar Michael Fraenkel Committed by Brad Fitzpatrick
Browse files

net/http: make Transport.MaxConnsPerHost work for HTTP/2

Treat HTTP/2 connections as an ongoing persistent connection. When we
are told there is no cached connections, cleanup the associated
connection and host connection count.

Fixes #27753

Change-Id: I6b7bd915fc7819617cb5d3b35e46e225c75eda29
Reviewed-on: https://go-review.googlesource.com/c/go/+/140357


Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent c706d422
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment