Home | History | Annotate | Download | only in http

Lines Matching refs:Transport

9 // For use in earlier Go versions see ConfigureServer. (Transport support
118 // dialCall is an in-flight Transport dial call to a host.
157 // This is used by the http1 Transport code when it creates a new connection. Because
158 // the http1 Transport doesn't de-dup TCP dials to outbound hosts (because it doesn't know
288 func http2configureTransport(t1 *Transport) (*http2Transport, error) {
328 // registerHTTPSProtocol calls Transport.RegisterProtocol but
330 func http2registerHTTPSProtocol(t *Transport, rt RoundTripper) (err error) {
2049 func http2transportExpectContinueTimeout(t1 *Transport) time.Duration {
2402 "strict-transport-security",
2775 // up Opaque URLs before sending requests from the Transport.
5403 // Transport is an HTTP/2 Transport.
5405 // A Transport internally caches connections to servers. It is safe
5425 // DisableCompression, if true, prevents the Transport from
5428 // Accept-Encoding value. If the Transport requests gzip on
5443 // want to advertise an ulimited value to the peer, Transport
5448 // t1, if non-nil, is the standard library Transport using
5449 // this transport. Its settings are used (but not its
5451 t1 *Transport
5473 // ConfigureTransport configures a net/http HTTP/1 Transport to use HTTP/2.
5476 func http2ConfigureTransport(t1 *Transport) error {
5538 // is created for each Transport.RoundTrip call.
5643 // RoundTripOpt are options for the Transport.RoundTripOpt method.
5687 t.vlogf("http2: Transport failed to get client conn for %s: %v", addr, err)
5718 http2errClientConnGotGoAway = errors.New("http2: Transport received Server's graceful shutdown GOAWAY")
5719 http2errClientConnGotGoAwayAfterSomeReqBody = errors.New("http2: Transport received Server's graceful shutdown GOAWAY; some request body already written")
5740 return nil, errors.New("http2: Transport: peer server initiated graceful shutdown after some of Request.Body was written; define Request.GetBody to avoid this error")
5844 t.vlogf("http2: Transport creating client conn %p to %v", cc, c.RemoteAddr())
5945 cc.vlogf("http2: Transport closing idle conn %p (forSingleUse=%v, maxStream=%v)", cc, cc.singleUse, nextID-2)
6456 // shouldSendReqContentLength reports whether the http2.Transport should send
6492 log.Printf("http2: Transport encoding header %q = %q", name, value)
6563 // GoAwayError is returned by the Transport when the server closes the
6628 cc.vlogf("http2: Transport readFrame error on conn %p: (%T) %v", cc, err, err)
6643 cc.vlogf("http2: Transport received %s", http2summarizeFrame(f))
6677 cc.logf("Transport: unhandled response frame type %T", f)
6681 cc.vlogf("http2: Transport conn %p received error from processing frame %v: %v", cc, http2summarizeFrame(f), err)
6849 // transportResponseBody is the concrete type of Transport.RoundTrip's
6956 cc.logf("http2: Transport received unsolicited DATA frame; closing connection")
6975 cc.logf("http2: Transport received DATA frame for closed stream; closing connection")
7053 cc.vlogf("transport got GOAWAY with error code = %v", f.ErrCode)
7292 // bodyWriterState encapsulates various state around the Transport's writing