Commit Graph

3959 Commits

Author SHA1 Message Date
Marten Seemann
9f5df74bd1 add a test that protocol.MaxStreamCount has the correct value 2019-11-08 11:42:24 +07:00
Marten Seemann
914193cc9d Merge pull request #2203 from lucas-clemente/randomize-conn-id-change
randomize the number of packets sent with the same connection ID
2019-11-06 15:46:47 +07:00
Marten Seemann
2a8b038ca6 randomize the number of packets sent with the same connection ID 2019-11-05 16:16:58 +07:00
Marten Seemann
8e3921ca3e Merge pull request #2199 from lucas-clemente/version-negotiation-interop-test
add support for the version negotiation interop test
2019-11-05 11:25:03 +07:00
Marten Seemann
2f9b429254 Merge pull request #2196 from lucas-clemente/new-conn-ids
issue and use new connection IDs
2019-11-05 11:24:41 +07:00
Marten Seemann
04105625ae issue new connection IDs 2019-11-05 11:00:07 +07:00
Marten Seemann
5d0d0d0679 implement replacing with a closed session for all active connection IDs 2019-11-05 11:00:07 +07:00
Marten Seemann
f948165824 implement removing of all active connection IDs 2019-11-05 11:00:07 +07:00
Marten Seemann
121795977d implement issuing and retiring of connection IDs 2019-11-05 11:00:07 +07:00
Marten Seemann
35ea8213c5 move initialization of the client's transport parameters to the session 2019-11-05 11:00:06 +07:00
Marten Seemann
b64535e656 move initialization of the server's transport parameters to the session 2019-11-05 10:59:21 +07:00
Marten Seemann
90643f5756 move initialization of the client's transport parameters to the session 2019-11-05 10:59:21 +07:00
Marten Seemann
ccb777b834 retire the stateless reset token when the session is closed 2019-11-05 10:59:21 +07:00
Marten Seemann
9a81603b4a remove remote closed session from the packet handler map 2019-11-05 10:59:21 +07:00
Marten Seemann
011642e471 update the connection ID after sending 10000 packets 2019-11-05 10:59:21 +07:00
Marten Seemann
326279894b retire stateless tokens when updating the connection ID 2019-11-05 10:59:21 +07:00
Marten Seemann
5203b026e3 use the connection ID manager to save the server's stateless reset token 2019-11-05 10:59:21 +07:00
Marten Seemann
ffbb810fcc retire stateless reset tokens instead of deleting them immediately 2019-11-05 10:59:21 +07:00
Marten Seemann
772ffd3d20 use the connection ID manager to save the destination connection ID 2019-11-05 10:59:21 +07:00
Marten Seemann
a321f9faa6 save connection IDs sent in NEW_CONNECTION_ID frames 2019-11-05 10:59:21 +07:00
Marten Seemann
8db230753f retire old connection IDs when the peers sends us too many new ones 2019-11-05 10:59:21 +07:00
Marten Seemann
37600e049d implement the active_connection_id_limit transport parameter 2019-11-05 10:59:21 +07:00
Marten Seemann
b9b44c60d3 implement forced retiring of connection IDs 2019-11-05 10:59:21 +07:00
Marten Seemann
031c1709e6 implement a basic store for new connection IDs 2019-11-05 10:59:21 +07:00
Marten Seemann
36c77a56c9 simplify the packetHandlerManager interface 2019-11-05 10:59:21 +07:00
Marten Seemann
9cbbdaa7b3 Merge pull request #2197 from lucas-clemente/drop-initial
drop Initial keys as early as possible
2019-11-04 21:20:40 +07:00
Marten Seemann
4514254545 Merge pull request #2195 from lucas-clemente/packet-handler-map-logging
periodically log the number of tracked items in the packet handler map
2019-11-04 21:19:44 +07:00
Marten Seemann
06d8eda0e9 add support for the version negotiation test 2019-11-04 15:48:27 +07:00
Marten Seemann
e0c4c97a46 correctly handle nil tls.Configs in the http09.RoundTripper 2019-11-04 15:48:27 +07:00
Marten Seemann
f61f251fce implement correct dropping of Initial keys 2019-11-04 13:33:17 +07:00
Marten Seemann
cc9fa055a6 rename the sealer to longHeaderSealer for consistency 2019-11-04 11:31:20 +07:00
Marten Seemann
441b1ed84b periodically log the number of tracked items in the packet handler map 2019-11-03 11:57:21 +07:00
Marten Seemann
59cf1e88a7 Merge pull request #2193 from lucas-clemente/closed-sessions
replace closed sessions in the packet handler map
2019-11-03 08:54:39 +07:00
Marten Seemann
c7334e3e66 replace closed sessions in the packet handler map 2019-11-02 20:32:59 +07:00
Marten Seemann
46c46689c5 Merge pull request #2192 from lucas-clemente/remove-unnecessary-session-destroy
remove unneccessary destroy of the session when retiring a connection ID
2019-11-01 18:58:47 +07:00
Marten Seemann
e55a14b8f0 remove unneccessary destroy of the session when retiring a connection ID 2019-11-01 11:53:57 +07:00
Marten Seemann
d146970539 Merge pull request #2188 from lucas-clemente/context-stream-cancelation
cancel the stream context as early as possible
2019-11-01 11:38:17 +07:00
Marten Seemann
d93afcac53 cancel the stream context as early as possible 2019-10-30 12:21:38 +07:00
Marten Seemann
afc7c10918 Merge pull request #2189 from lucas-clemente/fix-flaky-session-test
fix flaky session test
2019-10-30 11:59:49 +07:00
Marten Seemann
c328a507f1 fix flaky session test 2019-10-29 18:43:19 +07:00
Marten Seemann
a87115ca14 Merge pull request #2185 from lucas-clemente/simplify-session-setup
remove unused return value from session constructor
2019-10-29 16:18:07 +07:00
Marten Seemann
3fd8175918 simplify the session constructor 2019-10-27 15:35:35 +07:00
Marten Seemann
416fe8364e remove unused return value from session constructor 2019-10-27 15:35:34 +07:00
Marten Seemann
672328ca30 Merge pull request #2184 from lucas-clemente/http3-read-frame-error
close the connection on unexpected frames when reading a HTTP/3 body
2019-10-26 06:47:37 +07:00
Marten Seemann
c3929214f6 Merge pull request #2183 from lucas-clemente/remove-priority-frame
remove HTTP/3 PRIORITY frame
2019-10-25 17:40:17 +07:00
Marten Seemann
225e67b1af Merge pull request #2182 from lucas-clemente/transport-parameter-error
use the TRANSPORT_PARAMETER_ERROR
2019-10-25 16:43:00 +07:00
Marten Seemann
fe6cda98eb close the connection on unexpected frames when reading a HTTP/3 body 2019-10-25 09:39:40 +07:00
Marten Seemann
4719852db6 remove HTTP/3 PRIORITY frame 2019-10-25 09:00:46 +07:00
Marten Seemann
4834159210 use the TRANSPORT_PARAMETER_ERROR 2019-10-25 06:47:26 +07:00
Marten Seemann
82873477ed remove stray log statement in setLossDetectionTimer() 2019-10-24 17:02:30 +07:00