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

update quic-go to v0.12.0 (supporting QUIC draft-22) #68

Merged
merged 1 commit into from
Aug 5, 2019

Conversation

marten-seemann
Copy link
Collaborator

@marten-seemann marten-seemann commented Aug 5, 2019

This PR updates quic-go to the latest release. This release increases the QUIC version number to draft-22. This gives us the opportunity to change our handshake logic, so we should merge this PR at the same time as #67.

@@ -36,13 +38,13 @@ func (c *conn) IsClosed() bool {

// OpenStream creates a new stream.
func (c *conn) OpenStream() (mux.MuxedStream, error) {
qstr, err := c.sess.OpenStreamSync()
qstr, err := c.sess.OpenStreamSync(context.Background())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably set a timeout. 5s?

(ideally, the context would be passed through but that's better than nothing)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That might be a fix for #57. Let's do that in a separate PR.

@marten-seemann marten-seemann merged commit 837eddb into master Aug 5, 2019
@marten-seemann marten-seemann deleted the update-to-quic-draft-22 branch August 5, 2019 05:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants