Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestTransportProxyHTTPSConnectLeak (0.51 sec)

  1. src/net/http/transport_test.go

    		}
    	}
    }
    
    // Issue 28012: verify that the Transport closes its TCP connection to http proxies
    // when they're slow to reply to HTTPS CONNECT responses.
    func TestTransportProxyHTTPSConnectLeak(t *testing.T) {
    	cancelc := make(chan struct{})
    	SetTestHookProxyConnectTimeout(t, func(ctx context.Context, timeout time.Duration) (context.Context, context.CancelFunc) {
    		ctx, cancel := context.WithCancel(ctx)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top