Marten Seemann
|
741521c4d1
|
refactor frame parsing into a separate struct
|
2019-01-28 16:09:47 +09:00 |
|
Marten Seemann
|
7ac2766b74
|
improve logging of NEW_CONNECTION_ID frames
|
2019-01-26 16:31:53 +08:00 |
|
Marten Seemann
|
d6521fa3cc
|
Merge pull request #1749 from lucas-clemente/dont-send-after-reset
don't send stream data after a stream was canceled
|
2019-01-23 15:25:26 +07:00 |
|
Marten Seemann
|
1d7d532035
|
release connection-level flow control credit when a stream is reset
|
2019-01-23 12:49:48 +07:00 |
|
Marten Seemann
|
1f75eaffd3
|
improve the error messages for stream data received after termination
|
2019-01-23 12:44:38 +07:00 |
|
Marten Seemann
|
bfbf0bca48
|
always queue window updates when data is being read
There's no need to have a separate call in the flow controller interface
for this.
|
2019-01-22 23:46:12 +07:00 |
|
Marten Seemann
|
de05de297f
|
Merge pull request #1739 from lucas-clemente/connection-state
set the ConnectionState
|
2019-01-17 09:14:24 +07:00 |
|
Marten Seemann
|
a84d626cd5
|
Merge pull request #1733 from lucas-clemente/remove-leftover-todo
remove leftover TODO in the crypto setup
|
2019-01-17 09:13:53 +07:00 |
|
Marten Seemann
|
84037e3024
|
Merge pull request #1734 from lucas-clemente/ack-encryption-level
send ACK frames in the correct packet number space
|
2019-01-16 08:58:01 +07:00 |
|
Marten Seemann
|
9122bfe9ad
|
Merge pull request #1732 from lucas-clemente/tls-handshake-write-key
retrieve the handshake write key when receiving the ServerHello
|
2019-01-16 08:55:47 +07:00 |
|
Marten Seemann
|
4ba3aa0de8
|
set the ConnectionState
|
2019-01-14 11:55:07 +07:00 |
|
Marten Seemann
|
1306787703
|
Merge pull request #1730 from lucas-clemente/change-dev-version
change the version number for the development version
|
2019-01-11 15:38:35 +07:00 |
|
Marten Seemann
|
a303ad9745
|
always send ACKs in the correct packet number space
|
2019-01-11 11:12:07 +07:00 |
|
Marten Seemann
|
258e43ab95
|
rename the receivedPacketHandler to receivedPacketTracker
|
2019-01-11 10:52:39 +07:00 |
|
Marten Seemann
|
5ccc367462
|
start ignoring packets in ACK frames only after the handshake completed
|
2019-01-11 10:52:39 +07:00 |
|
Marten Seemann
|
ad3f39a5d7
|
retrieve the handshake write key when receiving the ServerHello
|
2019-01-11 10:52:08 +07:00 |
|
Marten Seemann
|
337b9f9a93
|
remove leftover TODO in the crypto setup
|
2019-01-11 09:22:17 +07:00 |
|
Niklas Gustavsson
|
edecc88ebf
|
Set is1RTT correctly for sealer/opener
Ensure that the rigth mask is picked for header protection.
|
2019-01-10 16:39:01 +01:00 |
|
Marten Seemann
|
3f80870922
|
change the version number for the development version
This now uses the highest version number reserved for quic-go in
https://github.com/quicwg/base-drafts/wiki/QUIC-Versions.
|
2019-01-10 22:06:29 +07:00 |
|
Marten Seemann
|
6fbe8d563e
|
Merge pull request #1713 from lucas-clemente/draft-test-vectors
use the test vectors from the draft
|
2019-01-07 10:18:57 +07:00 |
|
Marten Seemann
|
45458b3859
|
add the complete packet test vectors for initial packets
|
2019-01-07 09:11:49 +07:00 |
|
Marten Seemann
|
c0e9faa505
|
use the initial test vectors from the draft
|
2019-01-07 09:07:38 +07:00 |
|
Marten Seemann
|
b4356d7348
|
fix nonce usage in the AEAD, use the AEAD provided by qtls for Initials
|
2019-01-07 09:04:03 +07:00 |
|
Marten Seemann
|
e6d0ea630e
|
Merge pull request #1718 from lucas-clemente/fix-session-queue
implement a queue of session waiting to be accepted
|
2019-01-07 08:45:22 +07:00 |
|
Marten Seemann
|
086cc85b98
|
Merge pull request #1712 from lucas-clemente/fix-ack-delay-for-pn0
correctly set the ack delay in an ACK of packet number 0
|
2019-01-07 08:44:32 +07:00 |
|
Marten Seemann
|
4294493a1a
|
Merge pull request #1715 from lucas-clemente/fix-quic-ext-codepoint
fix quic_transport_parameters TLS extension code point
|
2019-01-07 08:43:30 +07:00 |
|
Marten Seemann
|
90514d53d1
|
reject new connection attempts if the server's accept queue is full
|
2019-01-06 15:26:43 +07:00 |
|
Marten Seemann
|
bbbeb7d32c
|
update the HKDF labels
|
2019-01-05 18:01:02 +07:00 |
|
Marten Seemann
|
177c81610b
|
rename packet number encryption to header encryption
|
2019-01-05 18:00:22 +07:00 |
|
Marten Seemann
|
0485090f9a
|
fix quic_transport_parameters TLS extension code point
|
2019-01-05 16:23:27 +07:00 |
|
Marten Seemann
|
5e3c96024a
|
correctly set the ack delay in an ACK of packet number 0
|
2019-01-05 13:05:14 +07:00 |
|
Marten Seemann
|
5a37e8983d
|
remove unnecessary Raw byte slice from the header
|
2019-01-03 10:14:08 +07:00 |
|
Marten Seemann
|
3691a18849
|
Merge pull request #1692 from lucas-clemente/unify-tlp-and-rto
unify TLP and RTO
|
2019-01-03 10:07:00 +07:00 |
|
Marten Seemann
|
77d48248ff
|
unify TLP and RTO
This doesn't yet implement the persistent congestion detection, since
the specification of that still is in flux.
|
2019-01-01 09:53:09 +07:00 |
|
Marten Seemann
|
538b84b78d
|
use the IV when sealing and opening
|
2018-12-29 16:11:27 +07:00 |
|
Marten Seemann
|
cf7f2dc661
|
rename handshake packets to crypto packets
|
2018-12-28 13:17:31 +07:00 |
|
Marten Seemann
|
3d2d45d53f
|
Merge pull request #1687 from lucas-clemente/draft-17-initial
use the draft-17 initial encryption
|
2018-12-27 17:20:00 +07:00 |
|
Marten Seemann
|
7cb84c4e06
|
Merge pull request #1685 from lucas-clemente/increase-pn-after-vn-and-retry
increase the packet number after version negotiation and retry
|
2018-12-27 17:00:58 +07:00 |
|
Marten Seemann
|
b1592d0616
|
use the draft-17 initial encryption
|
2018-12-27 16:50:42 +07:00 |
|
Marten Seemann
|
178ac0dacb
|
keep increasing the packet number after version negotiation and retry
|
2018-12-22 22:15:35 +06:30 |
|
Marten Seemann
|
1abf9e1b37
|
start with packet number 0
|
2018-12-22 21:25:14 +06:30 |
|
Marten Seemann
|
a4128ed469
|
accept multiple ACKs sent in the same packet
|
2018-12-21 21:10:23 +06:30 |
|
Marten Seemann
|
b166757fd9
|
Merge pull request #1680 from lucas-clemente/stream-deadlock
fix a deadlock when setting read and write deadlines
|
2018-12-21 15:43:07 +06:30 |
|
Marten Seemann
|
d6c304610d
|
only queue packets for decryption if the opener is not yet available
|
2018-12-20 15:24:56 +06:30 |
|
Marten Seemann
|
516b427d46
|
don't set a timer when the deadline is the zero value
|
2018-12-18 22:06:57 +06:30 |
|
Marten Seemann
|
072b84870c
|
don't fire a newly created timer
|
2018-12-18 22:06:57 +06:30 |
|
Marten Seemann
|
5a68ba0a02
|
implement header encrytion and decryption for sealers and openers
|
2018-12-14 16:46:40 +06:30 |
|
Marten Seemann
|
67f923c736
|
return the Opener from the crypto setup
|
2018-12-14 16:46:40 +06:30 |
|
Marten Seemann
|
d3611a014c
|
implement initial header encryption key derivation
|
2018-12-14 16:46:40 +06:30 |
|
Marten Seemann
|
03489f56a7
|
handle the packet length before parsing the extended header
|
2018-12-14 16:46:40 +06:30 |
|