Uh oh!
There was an error while loading. Please reload this page.
quic: more quic refactorings and cleanups - #34283
Conversation
534f1e8 to
5b5deb3Comparejasnell
commented
Jul 13, 2020
@nodejs/quic ... there's still a lot more to do on this but this PR is already fairly large and complicated so I wanted to get this one in review. There are several major pieces in here:
constsock=createQuicSocket();sock.on('session',(session)=>{session.on('stream',(stream)=>stream.end('hi!'));});awaitsock.listen();and constsock=createQuicSocket();constclient=awaitsock.connect();conststream=awaitclient.openStream();stream.end('hello');awaitclient.close();
|
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
If we do this, should we update net and dgram to also accept 'udp6-only'? It seems odd that we deviate from the type + ipv6Only option pairing only in this place
There was a problem hiding this comment.
Yes, eventually we should, yes. I just don't want to do it in this PR.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
jasnell
commented
Jul 14, 2020
CIs are good |
Since the `ipv6Only` option was mutually exclusive with using `'udp6'`, making it it's own type simplifies things a bit.
Doesn't need to be a function
Restricting this to pre-bind keeps things simple
Ensure that the QuicSocket is properly destroyed if the QuicEndpoint is destroyed directly rather than through QuicSocket destroy
PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
jasnell
commented
Jul 16, 2020
Landed in 48404a1...89453cf |
ruyadorno
commented
Jul 22, 2020
QUIC related, needs to be backported to v14.x 😊 |
jasnell
commented
Jul 22, 2020
None of the quic related prs should be backported |
thanks for letting me know @jasnell! I'm watching nodejs/github-bot#267 and in the meantime will update the issues I touched today to have the correct label 😊 |
Since the `ipv6Only` option was mutually exclusive with using `'udp6'`, making it it's own type simplifies things a bit. PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Doesn't need to be a function PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Restricting this to pre-bind keeps things simple PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Ensure that the QuicSocket is properly destroyed if the QuicEndpoint is destroyed directly rather than through QuicSocket destroy PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
This is the start of a conversion over to a fully Promise-centric API for the QUIC implementation. PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
QuicClientSession and QuicServerSessions are now always immediately ready for use when they are created, so no more need to track ready state. PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #34283 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Builds on #34262 ... that one needs to land first (the first three commits are from that PR)
quic: replace ipv6Only option with
'udp6-only'typeSince the
ipv6Onlyoption was mutually exclusive withusing
'udp6', making it it's own type simplifies thingsa bit.
(more will be added)
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes