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

[client] Add QUIC support #2962

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft

[client] Add QUIC support #2962

wants to merge 17 commits into from

Conversation

pappz
Copy link
Contributor

@pappz pappz commented Nov 28, 2024

Describe your changes

Add QUIC protocol support for Relay client and server
The Relay client tries to connect with WS and QUIC to Relay in parallel. After the successful connection is maintained, only one of them and the other will be aborted. The system architecture expects all Relay server instances to accept all protocols. The QUIC will listen on the same port number as the WS, just on UDP.

For the test and dev environment, the code generates a fake certificate for the QUIC server and it will automatically be accepted by the Relay client. It is configurable in build time with the -tags=devecrt parameter. Keep in mind never to use binary that has been built with these flags in a production system.

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

- remove unused variable
- rename Struct
Copy link

sonarcloud bot commented Dec 2, 2024

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