-
Notifications
You must be signed in to change notification settings - Fork 54
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
QUIC transport #563
QUIC transport #563
Conversation
a342cd9
to
ecfc5cf
Compare
39645a8
to
5419784
Compare
214f0ba
to
1294f0a
Compare
Codecov Report
@@ Coverage Diff @@
## unstable #563 +/- ##
===========================================
Coverage ? 81.56%
===========================================
Files ? 59
Lines ? 11337
Branches ? 0
===========================================
Hits ? 9247
Misses ? 2090
Partials ? 0
|
1294f0a
to
bed2827
Compare
21cb978
to
c4f2cae
Compare
c59c85c
to
def2c21
Compare
Just changed to base branch to transport-session, should update automatically when we merge 565, and easier to review here |
def2c21
to
f0ad5f3
Compare
1cbbcdd
to
44bb234
Compare
f0ad5f3
to
bdbbc39
Compare
44bb234
to
9d23e09
Compare
bdbbc39
to
8a1f4cc
Compare
# Conflicts: # libp2p/wire.nim # tests/testnative.nim
This error was raised when running nativetests. More info: nim-lang/Nim#8500
- accept upgrade manager in constructor - check that transport is running before calling stop - write empty message to ensure that quic stream is opened
QUIC support is currently unsafe and should only be used for testing.
In Windows, closing of QUIC connections often takes about 10 seconds.
9d23e09
to
0c5b832
Compare
5cef807
to
c555d8c
Compare
Closed in favor of #725 |
…y) (#725) Our quic effort is blocked by bearssl not supporting TLS1.3, but since Mark did most of the work to implement Quic here: #563 and on nim-quic, this PR is going to bring encryption-less Quic into nim-libp2p This allows us to test it, and make sure it doesn't bitrot. Heavily WiP: - [X] Extract code from #563 - [X] Create custom muxer & upgrader - [X] Basic E2E switch test working - [x] Update nim-quic to get address informations in libp2p (for `observed address` and port 0 resolving) - [ ] More tests - [ ] Cleanup Since encryption is not yet supported, we're not compatible with any other libp2ps, and have to rely on home made protocols to retrieve the peer's id --------- Co-authored-by: markspanbroek <mark@spanbroek.net> Co-authored-by: Diego <diego@status.im>
Work in progress. Adds support for QUIC as a base transport for libp2p connections. Based on the nim-quic library.