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

quicreuse: make it possible to use an application-constructed quic.Transport #3122

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

marten-seemann
Copy link
Contributor

It would be nice if the application was able to construct its own quic.Transport, and have that transport used by libp2p.

This would allow an application:

  • on the listener side: inject its own tls.Config on the Listen call, and Accept (a subset of) QUIC connections returned by the listener
  • on the client side: dial QUIC connections without going through libp2p at all

This would make it possible to run a vanilla HTTP/3 server behind a NAT / firewall and use libp2p's NAT hole punching mechanism to create the NAT bindings.

We shouldn't create the listener entry. This happens once the libp2p
QUIC transport starts listening.
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.

1 participant