Commit Graph

3785 Commits

Author SHA1 Message Date
Marten Seemann
d02fd5178a adjust the minimum size for stateless resets to the new header format 2019-08-31 12:33:53 +07:00
Marten Seemann
96db15c836 accept smaller stateless resets 2019-08-31 12:31:41 +07:00
Marten Seemann
f1d14ecdea Merge pull request #2042 from lucas-clemente/token-cache
implement a store for address validation tokes
2019-08-25 14:02:16 +07:00
Marten Seemann
48f5a18b2c Merge pull request #2081 from lucas-clemente/send-queue
implement a send queue to send packet asynchronously
2019-08-24 16:46:32 +07:00
Marten Seemann
00c19f7241 implement a send queue to send packet asynchronously 2019-08-24 15:25:38 +07:00
Marten Seemann
f4621e280e remove stray TODO in the HTTP/3 client 2019-08-24 10:41:41 +07:00
Marten Seemann
4247c2f06d Merge pull request #2087 from lucas-clemente/fuzz-frames
fuzz the frame parser
2019-08-24 09:05:33 +07:00
Marten Seemann
1ff6c04bdd add .gitignore entries for fuzzing 2019-08-24 08:54:56 +07:00
Marten Seemann
20557738a0 fuzz the frame parser 2019-08-24 08:54:56 +07:00
Marten Seemann
d77368af36 Merge pull request #2083 from lucas-clemente/simplify-largest-acked-tracking
simplify ackhandler.Packet
2019-08-24 08:29:05 +07:00
Marten Seemann
fcc34357dc Merge pull request #2078 from lucas-clemente/speed-up-header-encryption
speed up header encryption / decryption
2019-08-24 08:28:19 +07:00
Marten Seemann
53b32337df Merge pull request #2079 from lucas-clemente/speed-up-aead-overhead
speed up updatableAEAD.Overhead()
2019-08-23 23:19:59 +07:00
Marten Seemann
f0a62c05df Merge pull request #2085 from lucas-clemente/harden-http3
check the size of HTTP3 HEADERS frames before allocating
2019-08-23 23:18:54 +07:00
Marten Seemann
f7035b7b6a Merge pull request #2077 from lucas-clemente/speed-up-is-ack-eliciting
simplify (and speed up) IsFrameAckEliciting
2019-08-23 23:00:28 +07:00
Marten Seemann
c41b68033c Merge pull request #2080 from lucas-clemente/inline-varintlen
make sure that VarIntLen can be inlined
2019-08-23 22:59:51 +07:00
Marten Seemann
fcb8eda7ef Merge pull request #2084 from lucas-clemente/fix-http-body-closing
fix closing of http.Response and http.Request bodies
2019-08-23 22:24:01 +07:00
Marten Seemann
6a7b9c6412 Merge pull request #2086 from lucas-clemente/fix-conn-close-length
fix length calculcation for CONNECTION_CLOSE frames
2019-08-23 22:05:52 +07:00
Marten Seemann
21b2ede9cd Merge pull request #2082 from lucas-clemente/packet-number-parsing
replace WriteUintN and ReadUintN by explicit functions
2019-08-23 22:05:23 +07:00
Marten Seemann
0dbfefc1f6 fix length calculcation for CONNECTION_CLOSE frames 2019-08-22 12:20:13 +07:00
Marten Seemann
363de010ca reject http3 responses that exceeded the header size limit 2019-08-22 12:08:02 +07:00
Marten Seemann
9294652ecc reject http3 requests that exceeded the header size limit 2019-08-22 10:23:51 +07:00
Marten Seemann
39e29d8364 fix closing of http.Response and http.Request bodies 2019-08-21 16:30:02 +07:00
Marten Seemann
0c85e0eab9 remove unused PacketType field from the ackhandler.Packet 2019-08-21 14:49:00 +07:00
Marten Seemann
9221149194 simplify how the largest acked is passed to the ackhandler 2019-08-21 14:40:38 +07:00
Marten Seemann
ccb197939d replace WriteUintN and ReadUintN by explicit functions 2019-08-20 15:59:39 +07:00
Marten Seemann
f88546208d make sure that VarIntLen can be inlined 2019-08-20 14:18:50 +07:00
Marten Seemann
fd62eb67ee speed up updatableAEAD.Overhead() 2019-08-20 13:47:36 +07:00
Marten Seemann
a57b9c70aa speed up header encryption / decryption 2019-08-20 13:36:40 +07:00
Marten Seemann
e16bf92dc6 simplify (and speed up) IsFrameAckEliciting 2019-08-20 13:18:32 +07:00
Marten Seemann
2133d01956 Merge pull request #2069 from lucas-clemente/grease-transport-parameters
grease transport parameters
2019-08-19 15:35:23 +07:00
Marten Seemann
07a7c0ac62 Merge pull request #2071 from lucas-clemente/fuzz
add fuzzing for the header parser
2019-08-19 14:04:39 +07:00
Marten Seemann
481cf25910 grease transport parameters 2019-08-19 13:56:26 +07:00
Marten Seemann
3e65cfd9c0 Merge pull request #2074 from lucas-clemente/invalid-ack-delays
gracefully handle invalid ACK delay values when parsing ACK frames
2019-08-19 11:30:34 +07:00
Marten Seemann
295533595a Merge pull request #2073 from lucas-clemente/conn-close-frame-frame-type
parse and write the frame type field in the CONNECTION_CLOSE frame
2019-08-18 20:16:22 +07:00
Marten Seemann
b307b3d06f Merge pull request #2072 from lucas-clemente/fix-new-conn-id-frame
fix connection ID length check in the NEW_CONNECTION_ID frame
2019-08-18 20:15:46 +07:00
Marten Seemann
f0bdf4f982 gracefully handle invalid ACK delay values when parsing ACK frames 2019-08-17 12:42:10 +07:00
Marten Seemann
96f0e96e45 parse and write the frame type field in the CONNECTION_CLOSE frame 2019-08-17 11:19:39 +07:00
Marten Seemann
6bcd740f56 reject NEW_CONNECTION_ID frames with invalid Retire Prior To values 2019-08-17 11:07:38 +07:00
Marten Seemann
bb4cfe29cb fix connection ID length check in the NEW_CONNECTION_ID frame 2019-08-17 10:58:40 +07:00
Marten Seemann
0d7c6b9d72 run fuzzit 2019-08-17 08:59:59 +07:00
Marten Seemann
2c22eb644c fuzz the header parsing 2019-08-16 16:21:18 +07:00
Marten Seemann
7df59b855f remove stray TODO in the server 2019-08-13 10:58:01 +07:00
Marten Seemann
b60d6ba42d add a Changelog entry for the TokenStore 2019-08-13 10:56:52 +07:00
Marten Seemann
41cdf8bb50 add an integration test for the token store 2019-08-13 10:56:46 +07:00
Marten Seemann
e2d58b2333 use tokens from the TokenStore when dialing 2019-08-13 10:53:30 +07:00
Marten Seemann
9c97a5e95f add the TokenStore to the quic.Config, store received tokens 2019-08-13 10:52:59 +07:00
Marten Seemann
fe0f7aff3b define a quic.TokenStore interface and provide a LRU implementation 2019-08-13 10:30:31 +07:00
Marten Seemann
dfedde672c add a Changelog entry for the EarlyListener 2019-08-13 09:43:58 +07:00
Marten Seemann
9c00802303 Merge pull request #2023 from lucas-clemente/early-data
implement sending of 0.5-RTT data
2019-08-12 22:20:51 -04:00
Marten Seemann
8215e70de0 add an integration test for 0.5-RTT data 2019-08-13 09:07:18 +07:00