]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: update link to chrome documentation on connection management
authorsmasher164 <aindurti@gmail.com>
Tue, 5 May 2020 19:30:22 +0000 (15:30 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 5 May 2020 19:42:01 +0000 (19:42 +0000)
The previous link at
https://insouciant.org/tech/connection-management-in-chromium/ is no
longer accessible. This CL changes it to
https://www.chromium.org/developers/design-documents/network-stack#TOC-Connection-Management.

Fixes #38885.

Change-Id: I0881e72fe0c099294ab137b5e2d0c3f5763978f8
Reviewed-on: https://go-review.googlesource.com/c/go/+/232357
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/transport.go

index 0c1dd1a0217608c4788cd66d5f509fad577d6bf6..b1705d54396ade74ead49627d0760f69e3999c8a 100644 (file)
@@ -843,7 +843,7 @@ func (t *Transport) tryPutIdleConn(pconn *persistConn) error {
        // Deliver pconn to goroutine waiting for idle connection, if any.
        // (They may be actively dialing, but this conn is ready first.
        // Chrome calls this socket late binding.
-       // See https://insouciant.org/tech/connection-management-in-chromium/.)
+       // See https://www.chromium.org/developers/design-documents/network-stack#TOC-Connection-Management.)
        key := pconn.cacheKey
        if q, ok := t.idleConnWait[key]; ok {
                done := false