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
Marten Seemann
10ee1521be
fix race conditions in packet handler map unit tests
2019-01-24 18:22:27 +07:00
Marten Seemann
bb185a3ad2
add a function to close the packet handler map
...
Close will close the underlying connection and wait until listen has
returned. While not strictly necessary in production use, this will fix
a few race conditions in our tests.
2019-01-24 18:09:46 +07:00
Marten Seemann
6dc4be9f4e
Merge pull request #1759 from lucas-clemente/on-stream-completed-fixes
...
call the onStreamCompleted callback without holding the stream mutex
2019-01-24 17:18:17 +07:00
Marten Seemann
2787a6051a
remove some defer statements in the stream
2019-01-24 16:59:13 +07:00
Marten Seemann
46b1d7a1fc
call the onStreamCompleted callback without holding the stream mutex
2019-01-24 16:59:13 +07:00
Marten Seemann
770beb55ab
Merge pull request #1758 from lucas-clemente/cancel-after-close-noop
...
make Stream.Cancel{Read,Write} a no-op if called after close, remove return value
2019-01-24 16:55:17 +07:00
Marten Seemann
f3414e732a
simplify closing the http.ResponseBody using that CancelRead is a no-op
2019-01-24 16:00:12 +07:00
Marten Seemann
3372fa794c
remove the error return value from Stream.CancelWrite
2019-01-24 16:00:12 +07:00
Marten Seemann
ca939df44e
remove the error return value from Stream.CancelRead
2019-01-24 16:00:11 +07:00
Marten Seemann
3808191679
make CancelWrite a no-op when called after closing the stream
2019-01-24 16:00:08 +07:00
Marten Seemann
415f79f892
document that CancelRead after reading the io.EOF is a no-op
2019-01-24 10:01:33 +07:00
Marten Seemann
870e2a63a7
Merge pull request #1755 from lucas-clemente/more-cancel-integrationtests
...
add integration tests where the write side of streams is canceled
2019-01-24 09:25:14 +07:00
Marten Seemann
665d6d495e
add an integration tests where both sides of the stream are canceled
2019-01-24 09:13:02 +07:00