Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move go-libp2p-quic-transport here #1424

Merged
merged 192 commits into from
Apr 22, 2022
Merged

move go-libp2p-quic-transport here #1424

merged 192 commits into from
Apr 22, 2022

Conversation

marten-seemann
Copy link
Contributor

Part of #1187.

Note that this disables the cross-version integration tests living in go-libp2p-quic-transport. They will be replaced with our cross-libp2p-version Testground tests very soon.

The certificate doesn’t matter, since it is not validated anywehere
(yet), but we need to send something.
The tls.Config was removed from the quic.Config in
quic-go/quic-go#713.
Support for stream deadlines was added in
quic-go/quic-go#579.
The session context was introduced in
quic-go/quic-go#774.
This also requires dropping support for Go 1.8.
marten-seemann and others added 24 commits September 8, 2021 15:22
read the client option from the simultaneous connect context
Technically, someone can set net.ipv4.ip_nonlocal_bind=1 to bind to
non-existent IP addresses, but I'm comfortable making this change and
seeing if anyone complains. I highly doubt it'll have any impact.

If it doesn't work out, we have other options (e.g., catch the "invalid
route" error and try again).

fixes #238
reuse the same router until we change listeners
In the swarm, we're calling Close for every connection before it is garbage
collected. We therefore don't need to start a Go routine here just to see when
a connection is closed.
We now also increment the reuse counter every time a connection is dialed. This
simplifies closing the connection.
don't start a Go routine for every connection dialed
use the Resource Manager
@marten-seemann marten-seemann mentioned this pull request Apr 22, 2022
65 tasks
@marten-seemann marten-seemann merged commit 5151d4b into master Apr 22, 2022
@marten-seemann marten-seemann deleted the merge-quic branch November 8, 2022 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.