Marten Seemann
0ef4f06189
move the transport parameters from the handshake to the wire package
2020-03-13 16:20:11 +07:00
Marten Seemann
e2e6f79c25
Merge pull request #2405 from lucas-clemente/remember-active-conn-id-limit
...
remember the value of the active_connection_id_limit transport parameter
2020-03-10 16:56:26 +07:00
Marten Seemann
b45050b824
remember the value of the active_connection_id_limit transport parameter
2020-03-08 18:16:03 +07:00
Marten Seemann
19ffcdd2ff
fix typo in preferredAddressParameterID constant name
2020-03-05 09:56:15 +07:00
Marten Seemann
9ee6efd506
change the transport parameter format to varint
2020-02-22 09:36:02 +07:00
Marten Seemann
3e32a693ad
introduce a marshaling format for data saved in the session ticket
2020-02-10 18:02:45 +08:00
Marten Seemann
6f347233e2
update the name of the disable_active_migration transport parameter
2020-01-21 15:05:12 +07:00
Marten Seemann
a1840b3221
fix unmarshaling of transport parameters from session tickets
2020-01-02 15:12:32 +08:00
Marten Seemann
052508e8c2
add a version to marshaled transport parameters in the session ticket
2020-01-01 18:04:02 +04:00
Marten Seemann
ed0f426943
implement marshalling of transport parameters for the session ticket
...
When using 0-RTT, the client will reuse the transport parameters from
the last session. The server therefore needs to make sure that the
transport parameters haven't been changed in the mean time. To do so, it
encodes the transport parameters into the session ticket.
2019-12-30 18:39:21 +04:00
Marten Seemann
27549c5665
use the minimum of the two peers' max_idle_timeouts
2019-12-11 14:04:33 +04:00
Marten Seemann
d771650640
implement marshaling and unmarshaling of the preferred_address
2019-11-30 19:56:05 +07:00
Marten Seemann
7fbf5397df
fix activeConnectionIDLimitParameterID variable name
2019-11-27 13:17:05 +07:00
Marten Seemann
37600e049d
implement the active_connection_id_limit transport parameter
2019-11-05 10:59:21 +07:00
Marten Seemann
4834159210
use the TRANSPORT_PARAMETER_ERROR
2019-10-25 06:47:26 +07:00
Marten Seemann
807dd67927
improve memory alignment of frequently used structs
2019-09-13 13:37:41 +07:00
Marten Seemann
2329d0e21e
handle negative max_ack_delay values in the transport parameters
2019-08-25 16:15:34 +07:00
Marten Seemann
481cf25910
grease transport parameters
2019-08-19 13:56:26 +07:00
Marten Seemann
a8633a952c
introduce a type for the stream number
2019-06-05 17:45:17 +08:00
Marten Seemann
4042a8258c
simplify writing of varint transport parameters
2019-05-08 12:53:19 +09:00
Marten Seemann
f847c5422d
implement parsing and writing of the max_ack_delay transport parameter
2019-05-08 12:43:29 +09:00
Marten Seemann
d44c81de7a
remove verification of version negotiation
2019-03-23 11:26:20 +01:00
Marten Seemann
3264d7c583
fix logging of transport parameters without stateless reset tokens
2019-03-19 16:58:08 +09:00
Marten Seemann
6cf20310fe
use an array for the stateless reset token in the transport parameters
2019-03-08 18:09:37 +09:00
Marten Seemann
79cd3235f8
log the stateless reset token in the transport parameters
2019-03-08 18:08:09 +09:00
Marten Seemann
6c726ccba3
change the idle timeout transport parameter to milliseconds
2019-02-23 10:37:08 +08:00
Marten Seemann
c7f1fce88a
set the default value for the ack_delay_exponent, if it is not sent
2019-02-08 13:50:49 +08:00
Marten Seemann
6834c37462
move the maximum ack delay exponennt to the protocol constants
2019-01-28 16:37:00 +09:00
Marten Seemann
155ebd18a2
parse and send the ack_delay_exponent in the transport parameters
2019-01-28 16:09:47 +09:00
Marten Seemann
c2aac727b9
implement the original_connection_id transport parameter
2018-11-10 16:41:11 +07:00
Marten Seemann
6da4ef356f
rename the initial stream limit transport parameters
2018-11-08 16:21:26 +07:00
Marten Seemann
f8612cda2c
renumber the transport parameters
2018-11-08 16:19:45 +07:00
Marten Seemann
c302d8ff81
check the validity of transport parameters when unmarshalling
2018-11-05 15:37:22 +07:00
Marten Seemann
66a72a1199
use varints for numeric transport parameters
2018-11-05 12:33:32 +07:00
Marten Seemann
9981026839
split the flow control transport parameters
2018-11-01 13:09:29 +07:00
Marten Seemann
a1acfc3045
rename {Stream,Connection}FlowControlWindow to InitialMax{Stream}Data
2018-10-30 12:52:42 +07:00
Marten Seemann
74c5e9a26c
move the definition of transport parameter IDs
2018-10-30 10:37:33 +07:00
Marten Seemann
3266e36811
drop support for gQUIC
2018-10-30 10:20:39 +07:00
Marten Seemann
74952a4331
check that every transport parameter is sent at most once
2018-10-24 23:33:37 +07:00
Marten Seemann
d0bc89fb74
make the idle_timeout transport parameter optional
2018-09-19 13:28:10 -04:00
Marten Seemann
e0e831f1fc
implement (un)marshalling of the transport parameters
2018-08-20 15:34:37 +07:00
Marten Seemann
00e1884a88
move reading of stateless reset tokens to the transport parameter struct
2018-08-20 15:34:37 +07:00
Marten Seemann
2c75b795ae
move adding of stateless reset tokens to the transport parameter struct
2018-08-20 15:34:37 +07:00
Marten Seemann
1bb9a7e1ac
don't require the flow control values in the transport parameters
2018-08-19 10:36:47 +07:00
Marten Seemann
6e299157d4
implement the disable_migration transport parameter and use it
2018-07-02 22:18:28 +07:00
Marten Seemann
f29c37b951
rename the constants for the max stream ids in the transport parameters
...
No functional change expected.
2018-05-06 12:13:04 +09:00
Marten Seemann
74ccd194f7
remove the omit_connection_id TLS transport parameter
2018-04-19 13:47:02 +09:00
Marten Seemann
b40942d39e
send stream counts, not stream IDs, in the transport parameters
2018-03-16 17:41:21 +00:00
Marten Seemann
1fffb88553
fix typo in function name
2018-03-16 17:41:21 +00:00
Marten Seemann
0f401b0b37
parse the max_packet_size in the TLS transport parameters
2018-03-10 14:14:09 +07:00