Commit Graph

3349 Commits

Author SHA1 Message Date
Marten Seemann
b52d45a1e5 use GolangCI-Lint instead of gometalinter 2019-02-27 20:51:50 +09:00
Marten Seemann
9b5a20e772 remove some unused functions 2019-02-27 19:31:53 +09:00
Marten Seemann
fbe8844006 remove some unneccessary type conversions 2019-02-27 19:30:55 +09:00
Marten Seemann
1e796fed4f Merge pull request #1796 from lucas-clemente/go-1.12-final
update CIs to Go 1.12
2019-02-27 16:26:37 +09:00
Marten Seemann
4ae5e1908c Merge pull request #1794 from lucas-clemente/coalesced-packets
move coalesced packet handling to the session
2019-02-27 09:20:16 +08:00
Marten Seemann
2f4cb5ca1a Merge pull request #1795 from lucas-clemente/idle-timeout-milliseconds
change the idle timeout transport parameter to milliseconds
2019-02-27 09:09:29 +08:00
Marten Seemann
02e851bd11 cut coalesed packets in the session 2019-02-27 10:03:34 +09:00
Marten Seemann
4e3d006871 update CIs to Go 1.12 2019-02-27 09:51:11 +09:00
Marten Seemann
6c726ccba3 change the idle timeout transport parameter to milliseconds 2019-02-23 10:37:08 +08:00
Marten Seemann
df34e4496e identify version negotiation packets without parsing the header 2019-02-23 10:24:42 +08:00
Marten Seemann
14426dfa12 implement a function to parse the destination connection ID of a packet 2019-02-23 10:24:42 +08:00
Marten Seemann
28ed85b9c6 move cutting of coalesced packets to the wire package 2019-02-23 10:24:42 +08:00
Marten Seemann
9f5b96f3be Merge pull request #1793 from lucas-clemente/tls-config-missing-fields
copy all fields from the tls.Config to the qtls.Config
2019-02-23 10:03:34 +08:00
Marten Seemann
d82a60c835 copy the GetConfigForClient callback when creating the qtls.Config 2019-02-22 14:34:28 +08:00
Marten Seemann
791b90d4d5 copy the GetCertificate callback when creating the qtls.Config 2019-02-22 14:04:49 +08:00
Marten Seemann
7fa0ebbfc8 Merge pull request #1780 from lucas-clemente/standard-library-tls
use the standard library TLS modification, modified for QUIC
2019-02-22 14:01:47 +08:00
Marten Seemann
2aa5e61cc9 update README with the new Go version requirement 2019-02-22 13:34:04 +08:00
Marten Seemann
500717066e use (a modified version of) the standard library TLS implementation 2019-02-22 13:33:56 +08:00
Marten Seemann
4ed0ef4b9c use Go 1.12rc1 on CIs 2019-02-22 11:08:09 +08:00
Marten Seemann
fd7246d7ed Merge pull request #1785 from lucas-clemente/pn-spaces
use separate packet number spaces for sending packets
2019-02-12 19:40:06 +08:00
Marten Seemann
f6642ff948 use separate packet number spaces for sending packets
Packet numbers now start at 0 for every packet number spaces.
Furthermore, an ACK frame now only acknowledges packets in the packet
number space it was sent in.
2019-02-11 20:13:05 +08:00
Marten Seemann
b35c161f2e don't ignore reordered ACKs 2019-02-11 20:13:05 +08:00
Marten Seemann
631947ad7d use shorter variable name in the sent packet handler 2019-02-11 20:13:05 +08:00
Marten Seemann
cb253010ea Merge pull request #1783 from lucas-clemente/fix-ack-delay-exponent-parsing
set the default value for the ack_delay_exponent, if it is not sent
2019-02-11 17:11:41 +08:00
Marten Seemann
2536e4f17b Merge pull request #1784 from lucas-clemente/disable-vn-test-race-detector
don't run the version negotiation tests with race detector
2019-02-11 17:10:59 +08:00
Marten Seemann
9bffce264f don't run the version negotiation tests with race detector 2019-02-08 13:56:49 +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
7dc4be2ce9 Merge pull request #1779 from lucas-clemente/remove-tls-received-extensions-error
remove the error return value when receiving TLS extensions
2019-02-07 20:51:57 +08:00
Marten Seemann
26afc7a4ca remove the error return value when receiving TLS extensions 2019-02-07 12:43:29 +08:00
Marten Seemann
f4057379fe Merge pull request #1777 from lucas-clemente/post-handshake-crypto
implement sending of post-handshake crypto messages
2019-02-07 09:03:34 +08:00
Marten Seemann
b24b8e6926 implement sending of post-handshake crypto messages 2019-02-06 23:05:43 +08:00
Marten Seemann
e7ed5e3c92 implement the crypto stream for post-handshake crypto messages 2019-02-06 22:51:44 +08:00
Marten Seemann
89c7f628ca Merge pull request #1776 from lucas-clemente/handle-retry-in-session
handle Retries in the session
2019-02-06 22:04:57 +08:00
Marten Seemann
17f4ebad64 handle Retry packets in the session 2019-02-04 15:38:47 +08:00
Marten Seemann
7a7e7ca6eb add a function to pass the retry token to the packet packer 2019-02-02 09:24:37 +08:00
Marten Seemann
2712626e66 move processing of transport parameters to the session 2019-02-02 09:24:37 +08:00
Marten Seemann
a95b7c2868 refactor how transport parameters are passed from the extension handler 2019-02-02 09:24:37 +08:00
Marten Seemann
707e9f7b79 Merge pull request #1724 from lucas-clemente/ack-delay-exponent
implement the ack_delay_exponent
2019-01-28 22:00:38 +09:00
Marten Seemann
903b7751a5 Merge pull request #1771 from lucas-clemente/log-new-token-frame
improve logging of NEW_TOKEN frames
2019-01-28 20:48:10 +09:00
Marten Seemann
8380cf97a4 improve logging of NEW_TOKEN frames 2019-01-28 16:46:09 +09:00
Marten Seemann
6834c37462 move the maximum ack delay exponennt to the protocol constants 2019-01-28 16:37:00 +09:00
Marten Seemann
cebb4342ec use the ack_delay_exponent sent in the transport parameters 2019-01-28 16:09:47 +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
ee75f5e2f2 implement ACK frame parsing using an ack delay exponent 2019-01-28 16:09:47 +09:00
Marten Seemann
741521c4d1 refactor frame parsing into a separate struct 2019-01-28 16:09:47 +09:00
Marten Seemann
f0f45e80f9 Merge pull request #1764 from lucas-clemente/new-connection-id-logging
improve logging of NEW_CONNECTION_ID frames
2019-01-28 09:24:06 +09:00
Marten Seemann
c424657067 Merge pull request #1765 from lucas-clemente/ignore-post-handshake-crypto
ignore post-handshake CRYPTO frames
2019-01-28 07:40:51 +08:00
Marten Seemann
2fffad94bc ignore post-handshake CRYPTO frames 2019-01-26 16:41:01 +08:00
Marten Seemann
7ac2766b74 improve logging of NEW_CONNECTION_ID frames 2019-01-26 16:31:53 +08:00
Marten Seemann
350363a796 Merge pull request #1763 from lucas-clemente/packet-handler-close
add a function to close the packet handler map
2019-01-25 18:26:55 +07:00