Commit Graph

5166 Commits

Author SHA1 Message Date
Marten Seemann
78e9a3bcad use consistent version numbers in client test 2020-11-11 16:58:23 +07:00
Marten Seemann
d0cdfc8926 Merge pull request #2865 from lucas-clemente/flow-control-replace-rwmutex
replace the RWMutex with a Mutex in the flow controller
2020-11-11 10:45:11 +07:00
Marten Seemann
0bd10a6517 Merge pull request #2864 from lucas-clemente/packet-handler-map-mutex-type
replace the RWMutex with a Mutex in the packet handler map
2020-11-11 10:44:26 +07:00
Marten Seemann
3cd8b30ea6 Merge pull request #2856 from lucas-clemente/conn-id-update-handshake-completion
wait until the handshake is complete before updating the connection ID
2020-11-10 20:52:09 +07:00
Marten Seemann
e8a9888f25 Merge pull request #2857 from lucas-clemente/fix-spa-conn-id-handling
only check the SCID for Initial packets
2020-11-10 20:51:28 +07:00
Marten Seemann
23e4d15283 Merge pull request #2861 from lucas-clemente/no-viable-path-error
add the NO_VIABLE_PATH error
2020-11-10 20:50:40 +07:00
Marten Seemann
ac06cf2504 Merge pull request #2853 from lucas-clemente/qlog-preferred-address
implement qlogging of the preferred address in the transport parameters
2020-11-10 20:50:17 +07:00
Marten Seemann
0a07b339b8 Merge pull request #2854 from lucas-clemente/http-header-set-version
explicitly set the supported versions in the HTTP/3 server test
2020-11-10 20:49:50 +07:00
Marten Seemann
59cafab0f3 Merge pull request #2862 from lucas-clemente/simplify-amplification-limit
allow an amplification factor of 3.x
2020-11-10 20:49:23 +07:00
Marten Seemann
3a06c188f6 replace the RWMutex with a Mutex in the flow controller 2020-11-07 10:12:46 +07:00
Marten Seemann
ba37b0e02b replace the RWMutex with a Mutex in the packet handler map 2020-11-06 17:09:21 +07:00
Marten Seemann
0c2f562411 allow an amplification factor of 3.x 2020-11-06 14:16:11 +07:00
Marten Seemann
96ac98a862 add the NO_VIABLE_PATH error 2020-11-06 12:35:49 +07:00
Marten Seemann
337e2171ef only check the SCID for Initial packets
There's no risk that Handshake packets could be injected by an attacker.
2020-11-02 16:24:02 +07:00
Marten Seemann
80534c0944 wait until the handshake is complete before updating the connection ID 2020-11-02 16:21:38 +07:00
Marten Seemann
676d43a5e9 remove incorrect log line about retirement of preferred address conn ID 2020-11-02 16:08:12 +07:00
Marten Seemann
656490c9b1 explicitly set the supported versions in the HTTP/3 server test 2020-11-02 12:47:40 +07:00
Marten Seemann
4372f46345 implement qlogging of the preferred address in the transport parameters 2020-11-02 12:39:48 +07:00
Marten Seemann
272229abf0 Merge pull request #2848 from lucas-clemente/http3-client-versions
only allow the HTTP/3 client to dial with a single QUIC version
2020-11-02 12:39:16 +07:00
Marten Seemann
898f484d0a only allow the HTTP/3 client to dial with a single QUIC version 2020-11-02 11:29:42 +07:00
Marten Seemann
30c91149c2 fill out the http.Response.TLS field 2020-11-02 11:29:42 +07:00
Marten Seemann
2839cbdcff make it possible to set VersionTLS to a draft version
Go doesn't allow duplicate cases in a switch statement.
2020-11-02 11:29:42 +07:00
Marten Seemann
b034f1ac7c Merge pull request #2828 from lucas-clemente/send-streams-blocked-on-max-streams
send STREAMS_BLOCKED frame when MAX_STREAMS frame allows too few streams
2020-10-30 18:58:42 +07:00
Marten Seemann
5c5e1024e7 send STREAMS_BLOCKED frame when MAX_STREAMS frame allows too few streams 2020-10-30 15:28:09 +07:00
Marten Seemann
ff639a4d81 Merge pull request #2847 from lucas-clemente/http3-server-multiple-versions
set the ALPN based on the QUIC version in the HTTP3 server
2020-10-30 15:12:36 +07:00
Marten Seemann
6d00bdff3f Merge pull request #2841 from lucas-clemente/pad-server-initials
pad datagrams containing ack-eliciting Initial packets sent by the server
2020-10-30 15:12:03 +07:00
Marten Seemann
b336504fdb Merge pull request #2827 from lucas-clemente/fix-open-stream-sync-busy-looping
fix OpenStreamSync busy looping
2020-10-30 15:11:23 +07:00
Marten Seemann
5a52902937 Merge pull request #2845 from lucas-clemente/update-qpack
update qpack to v0.2.1
2020-10-30 15:11:03 +07:00
Marten Seemann
7d5335e8d8 Merge pull request #2846 from lucas-clemente/github-actions-setup-go
use the current version of setup-go on GitHub Actions
2020-10-30 15:10:41 +07:00
Marten Seemann
6ff34f0891 Merge pull request #2849 from lucas-clemente/fix-server-close-deadlock
fix deadlock when closing the server and the connection at the same time
2020-10-30 15:10:21 +07:00
Marten Seemann
4c25cea9ec fix deadlock when closing the server and the connection at the same time 2020-10-29 17:56:14 +07:00
Marten Seemann
fea55fa042 use the current version of setup-go on GitHub Actions 2020-10-29 13:53:09 +07:00
Marten Seemann
5d1450bee7 use the QUIC versions from the quic.Config for setting Alt-Svc 2020-10-29 13:44:24 +07:00
Marten Seemann
c968b18a21 select the H3 ALPN based on the QUIC version in use (for the H3 server) 2020-10-29 13:44:23 +07:00
Marten Seemann
100cbfcb33 update qpack to v0.2.1 2020-10-29 11:06:22 +07:00
Marten Seemann
5aa16eb1cf add some randomized tests for the outgoing streams map 2020-10-26 09:55:23 +07:00
Marten Seemann
e94b5e8234 fix busy-looping in OpenStreamSync 2020-10-26 09:55:23 +07:00
Marten Seemann
1aa35722a1 speed up the unit tests in the outgoing streams map 2020-10-26 09:55:23 +07:00
Marten Seemann
b7652887d2 Merge pull request #2839 from lucas-clemente/gofumpt
run gofumpt, enable the gofumpt linter
2020-10-26 09:54:55 +07:00
Marten Seemann
8752576f26 run gofumpt, enable the gofumpt linter 2020-10-26 09:33:35 +07:00
Marten Seemann
598f975024 Merge pull request #2831 from lucas-clemente/draft-32
prepare for draft-32
2020-10-25 22:45:43 +07:00
Marten Seemann
5b80c49582 Merge pull request #2825 from lucas-clemente/update-aead-limit
update the invalid packet limit for AES
2020-10-25 22:44:20 +07:00
Marten Seemann
459fa5d19b pad datagrams containing ack-eliciting Initial packets from the server 2020-10-25 14:43:57 +07:00
Marten Seemann
27f569e2c9 refactor padding of packets in the packet packer 2020-10-25 13:40:22 +07:00
Marten Seemann
876ccd899b CONNECTION_CLOSE frames are not ack-eliciting 2020-10-25 13:22:33 +07:00
Marten Seemann
e1f56127df only use the conn ID backwards compatibility mode with draft-29 2020-10-22 20:33:17 +07:00
Marten Seemann
73193b7425 expose draft version constants in the quic package 2020-10-22 20:33:17 +07:00
Marten Seemann
6684aded0c add version constants for draft-29 and draft-32 2020-10-22 20:33:16 +07:00
Marten Seemann
4fc57c0a36 Merge pull request #2791 from lucas-clemente/udp-receive-buffer-size
increase UDP receive buffer size
2020-10-19 10:55:26 +07:00
Marten Seemann
14a5aa831d increase UDP receive buffer size 2020-10-19 10:42:44 +07:00