Marten Seemann
|
383f1a6e89
|
update gomock to v1.5.0
|
2021-02-20 09:33:43 +08:00 |
|
Marten Seemann
|
3c0726e132
|
move the random number generator to the utils package
|
2021-02-18 09:58:34 +08:00 |
|
Marten Seemann
|
62a906de3c
|
update Go to 1.16, drop support for 1.14
|
2021-02-17 12:17:46 +08:00 |
|
Marten Seemann
|
fd724f8d16
|
Merge pull request #3036 from lucas-clemente/no-0x-in-conn-id
log connection IDs without the 0x prefix
|
2021-02-13 19:33:03 +08:00 |
|
Marten Seemann
|
9dba8141ba
|
use the updated TLS extension code point for draft-34
|
2021-02-11 09:46:00 +08:00 |
|
Marten Seemann
|
f01a2c6b96
|
use the updated salt for draft-34
|
2021-02-11 09:46:00 +08:00 |
|
Marten Seemann
|
d5025b1373
|
add a version number for draft-34
|
2021-02-11 09:46:00 +08:00 |
|
Marten Seemann
|
6ece64d8a5
|
log connection IDs without the 0x prefix
|
2021-02-11 09:45:40 +08:00 |
|
Marten Seemann
|
b906364469
|
fix qtls imports in mockgen generated mocks
|
2021-02-11 09:26:25 +08:00 |
|
Marten Seemann
|
868127b6b4
|
Merge pull request #2940 from lucas-clemente/packet-number-skipping-cryptographic-random
use cryptographic random for determining skipped packet numbers
|
2021-01-17 14:38:16 +08:00 |
|
Marten Seemann
|
4bdccca0cf
|
Merge pull request #2980 from lucas-clemente/fix-pacing-deadline-interpretation
fix interpretation of time.Time{} as a pacing deadline
|
2021-01-16 14:08:27 +08:00 |
|
Marten Seemann
|
33d058f4ee
|
fix interpretation of time.Time{} as a pacing deadline
The pacer returns the zero value of time.Time when a packet can be sent
immediately. The session uses the zero value to unset the pacing
deadline.
|
2021-01-16 13:35:21 +08:00 |
|
Marten Seemann
|
d04662a964
|
add a RestoredTransportParameters method to the logging interface
|
2021-01-15 17:13:46 +08:00 |
|
Marten Seemann
|
fdbd5baed5
|
Merge pull request #2990 from lucas-clemente/improve-zero-rtt-queue
improve 0-RTT queue
|
2021-01-15 17:06:35 +08:00 |
|
Marten Seemann
|
cafa7c45d0
|
Merge pull request #2995 from lucas-clemente/simplify-tp-parsing-switch
simplify switch statement in the transport parameter parser
|
2021-01-15 17:05:59 +08:00 |
|
Marten Seemann
|
b50933737d
|
Merge pull request #2996 from lucas-clemente/remove-unneeded-overflow-check
remove unneeded overflow check when parsing the max_ack_delay
|
2021-01-15 17:04:01 +08:00 |
|
Marten Seemann
|
c5b610f6a5
|
remove unneeded check in receivedPacketHandler.IsPotentiallyDuplicate
The application data packet number space is never dropped.
|
2021-01-11 16:56:34 +08:00 |
|
Marten Seemann
|
2e5c43bef0
|
remove unneeded overflow check when parsing the max_ack_delay
|
2021-01-11 15:57:47 +08:00 |
|
Marten Seemann
|
8e94f08ee5
|
simplify switch statement in the transport parameter parser
|
2021-01-11 15:29:00 +08:00 |
|
Marten Seemann
|
86cec07568
|
remove the Max0RTTQueueLen and the MaxUndecrytablePackets by 1
Using values below a power of 2 might improve memory allocation.
|
2021-01-09 13:35:19 +08:00 |
|
Marten Seemann
|
f9226887b4
|
rename ReadVarint / WriteVarInt / VarIntLen to Read / Write / Len
|
2021-01-02 00:15:07 +08:00 |
|
Marten Seemann
|
11c5045065
|
move varint encoding / decoding to a separate package
... which is not internal.
|
2021-01-01 11:46:45 +08:00 |
|
Marten Seemann
|
57e3f55279
|
add support for Go 1.16
|
2020-12-29 11:48:02 +07:00 |
|
Marten Seemann
|
bcbdd438cb
|
Merge pull request #2950 from lucas-clemente/fix-flaky-sent-packet-handler-test
fix flaky sentPacketHandler test
|
2020-12-22 16:49:22 +07:00 |
|
Marten Seemann
|
31de6244e2
|
fix flaky sentPacketHandler test
|
2020-12-21 18:07:31 +07:00 |
|
Marten Seemann
|
c7d3aeea3d
|
move the transport parameter stream limit check to the parser
|
2020-12-18 13:00:33 +07:00 |
|
Marten Seemann
|
9693a46d31
|
Merge pull request #2162 from lucas-clemente/datagram
implement the datagram draft
|
2020-12-17 11:22:40 +07:00 |
|
Marten Seemann
|
6b87198c10
|
use cryptographic random for determining skipped packet numbers
|
2020-12-15 17:46:41 +07:00 |
|
Marten Seemann
|
d3abf0ec3f
|
fix logging of bytes_in_flight when receiving an ACK
The tracing call needs to be issued after subtracting acknowledged and
lost packets from the bytes_in_flight.
|
2020-12-15 12:04:12 +07:00 |
|
Marten Seemann
|
486738981f
|
Merge pull request #2905 from lucas-clemente/improve-packet-number-generator
various improvements to the packet number generator
|
2020-12-15 10:15:31 +07:00 |
|
Marten Seemann
|
4c0f0c47eb
|
Merge pull request #2930 from lucas-clemente/handshake-idle-timeout
introduce a quic.Config.HandshakeIdleTimeout, remove HandshakeTimeout
|
2020-12-15 08:35:44 +07:00 |
|
Marten Seemann
|
d226f70cd7
|
allow up to 20 byte for the initial connection IDs
|
2020-12-14 11:32:43 +07:00 |
|
Marten Seemann
|
98145368cd
|
implement receiving of DATAGRAM frames
|
2020-12-09 15:31:23 +07:00 |
|
Marten Seemann
|
791f896f80
|
implement sending of datagrams
|
2020-12-09 15:31:23 +07:00 |
|
Marten Seemann
|
fdaac4f32e
|
send the max_datagram_frame_size transport parameter
|
2020-12-09 15:31:23 +07:00 |
|
Marten Seemann
|
fd41e8fa62
|
reject DATAGRAM frames if datagram support is not enabled
|
2020-12-09 15:31:23 +07:00 |
|
Marten Seemann
|
021f70aac5
|
implement the max_datagram_frame_size transport parameter
|
2020-12-09 15:31:23 +07:00 |
|
Marten Seemann
|
d6eff22f9a
|
introduce a sentinel ByteCount value
|
2020-12-09 15:31:23 +07:00 |
|
Marten Seemann
|
c4de242751
|
add a MaxDataLen function for DATAGRAM frames
|
2020-12-09 15:31:23 +07:00 |
|
Marten Seemann
|
0582228e00
|
make it possible to log DATAGRAM frames
|
2020-12-09 15:31:23 +07:00 |
|
Marten Seemann
|
eefd2b73f7
|
implement parsing and writing of the DATAGRAM frames
|
2020-12-08 20:16:32 +07:00 |
|
Marten Seemann
|
595f6f814a
|
introduce a quic.Config.HandshakeIdleTimeout, remove HandshakeTimeout
|
2020-12-08 16:12:39 +07:00 |
|
Marten Seemann
|
431dff2172
|
reduce the number of skipped packet numbers for long connections
|
2020-12-06 12:54:39 +07:00 |
|
Marten Seemann
|
416d88990b
|
only skip packet numbers in the application data packet number space
|
2020-12-06 12:54:39 +07:00 |
|
Marten Seemann
|
e8e6c7b47e
|
use non-cryptographic random to generate skipped packet numbers
|
2020-12-06 12:54:39 +07:00 |
|
Marten Seemann
|
5a0ce24265
|
Merge pull request #2909 from lucas-clemente/qlog-generic-event
add a generic Debug() function to the connection tracer
|
2020-12-06 09:50:25 +07:00 |
|
Marten Seemann
|
ff1f433c36
|
add a generic Log() function to the connection tracer
|
2020-12-06 09:33:38 +07:00 |
|
Marten Seemann
|
5048006fc1
|
Merge pull request #2913 from lucas-clemente/remove-quictrace
remove support for quic-trace
|
2020-12-06 09:23:06 +07:00 |
|
Marten Seemann
|
eae8ad2fbb
|
Merge pull request #2887 from lucas-clemente/reduce-num-ack-ranges
reduce the maximum number of ACK ranges
|
2020-12-05 23:18:43 +07:00 |
|
Marten Seemann
|
02b700804f
|
remove support for quic-trace
|
2020-12-05 23:13:45 +07:00 |
|