Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #114 from libp2p/update-quic-go
Browse files Browse the repository at this point in the history
update quic-go to v0.15.0
  • Loading branch information
Stebalien authored Mar 1, 2020
2 parents 6d8b0e7 + fee8778 commit e84fe14
Show file tree
Hide file tree
Showing 4 changed files with 141 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ os:
language: go

go:
- "1.13.x"
- "1.14.x"

# first part of the GOARCH workaround
# setting the GOARCH directly doesn't work, since the value will be overwritten later
Expand Down
2 changes: 1 addition & 1 deletion conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type conn struct {
var _ tpt.CapableConn = &conn{}

func (c *conn) Close() error {
return c.sess.Close()
return c.sess.CloseWithError(0, "")
}

// IsClosed returns whether a connection is fully closed.
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ go 1.13
require (
github.com/libp2p/go-libp2p-core v0.3.0
github.com/libp2p/go-libp2p-tls v0.1.3
github.com/lucas-clemente/quic-go v0.14.4
github.com/lucas-clemente/quic-go v0.15.0
github.com/multiformats/go-multiaddr v0.2.0
github.com/multiformats/go-multiaddr-fmt v0.1.0
github.com/multiformats/go-multiaddr-net v0.1.2
github.com/onsi/ginkgo v1.12.0
github.com/onsi/gomega v1.9.0
github.com/vishvananda/netlink v1.1.0
golang.org/x/sys v0.0.0-20190904154756-749cb33beabd
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae
)
Loading

0 comments on commit e84fe14

Please sign in to comment.