mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
379557a958
and update some dependent packages. We would like to keep moby/moby and swarmkit somewhat in sync here and https://github.com/docker/swarmkit/pull/2229 proposes a similar bump to swarmkit, needed due to https://github.com/docker/swarmkit/pull/1965 which pulls in containerd which uses some newer features of the grpc package. Signed-off-by: Ian Campbell <ian.campbell@docker.com>
21 lines
412 B
Go
21 lines
412 B
Go
// Copyright 2015 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build !go1.6
|
|
|
|
package http2
|
|
|
|
import (
|
|
"net/http"
|
|
"time"
|
|
)
|
|
|
|
func configureTransport(t1 *http.Transport) (*Transport, error) {
|
|
return nil, errTransportVersion
|
|
}
|
|
|
|
func transportExpectContinueTimeout(t1 *http.Transport) time.Duration {
|
|
return 0
|
|
|
|
}
|