Commit Graph

3968 Commits

Author SHA1 Message Date
Marten Seemann
5af9d82de8 Merge pull request #2210 from lucas-clemente/application-error-codes
use the application-specific variant of CONNECTION_CLOSE
2019-11-09 11:36:52 +07:00
Marten Seemann
e6e343fc39 Merge pull request #2208 from lucas-clemente/fix-stream-deletion-errors
fix error message for stream deletion errors
2019-11-08 17:56:10 +07:00
Marten Seemann
ef2e0309f3 Merge pull request #2206 from lucas-clemente/ignore-reordered-ncid-frames
retire reordered NEW_CONNECTION_IDs that were already retired
2019-11-08 17:06:08 +07:00
Marten Seemann
23c5bfb306 Merge pull request #2207 from lucas-clemente/fix-cert-check-in-example-client
fix certificate check in the example client
2019-11-08 17:05:36 +07:00
Marten Seemann
6a9a591a10 use application-specific CONNECTION_CLOSE for normal termination 2019-11-08 14:22:50 +07:00
Marten Seemann
a472ac4731 use application-specific CONNECTION_CLOSE for application errors 2019-11-08 13:52:15 +07:00
Marten Seemann
4b58bc0d07 make the stream deletion error message more specific 2019-11-08 11:09:54 +07:00
Marten Seemann
394ff04fb1 fix error message for stream deletion errors 2019-11-08 11:00:43 +07:00
Marten Seemann
4febf95c0b fix certificate check in the example client 2019-11-07 10:29:55 +07:00
Marten Seemann
63aa38eefa retire reordered NEW_CONNECTION_IDs that were already retired 2019-11-06 17:37:23 +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