Update moby/spdystream to v0.4.0
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
18
vendor/github.com/moby/spdystream/connection.go
generated
vendored
18
vendor/github.com/moby/spdystream/connection.go
generated
vendored
@@ -740,16 +740,14 @@ func (s *Connection) shutdown(closeTimeout time.Duration) {
|
||||
|
||||
if err != nil {
|
||||
duration := 10 * time.Minute
|
||||
time.AfterFunc(duration, func() {
|
||||
select {
|
||||
case err, ok := <-s.shutdownChan:
|
||||
if ok {
|
||||
debugMessage("Unhandled close error after %s: %s", duration, err)
|
||||
}
|
||||
default:
|
||||
}
|
||||
})
|
||||
s.shutdownChan <- err
|
||||
timer := time.NewTimer(duration)
|
||||
defer timer.Stop()
|
||||
select {
|
||||
case s.shutdownChan <- err:
|
||||
// error was handled
|
||||
case <-timer.C:
|
||||
debugMessage("Unhandled close error after %s: %s", duration, err)
|
||||
}
|
||||
}
|
||||
close(s.shutdownChan)
|
||||
}
|
||||
|
||||
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@@ -422,7 +422,7 @@ github.com/mitchellh/go-wordwrap
|
||||
# github.com/moby/ipvs v1.1.0
|
||||
## explicit; go 1.17
|
||||
github.com/moby/ipvs
|
||||
# github.com/moby/spdystream v0.3.0
|
||||
# github.com/moby/spdystream v0.4.0
|
||||
## explicit; go 1.13
|
||||
github.com/moby/spdystream
|
||||
github.com/moby/spdystream/spdy
|
||||
|
||||
Reference in New Issue
Block a user