Marten Seemann
662041649f
use the error names from the draft
2019-03-06 13:45:05 +09:00
Marten Seemann
9c09e84765
use IETF QUIC transport error codes
2019-03-06 13:43:18 +09:00
Marten Seemann
966b00dd3d
Merge pull request #1808 from lucas-clemente/fix-coalesed-packet-buffer-usage
...
fix packet buffer usage when handling coalesced packets
2019-03-05 18:25:57 +09:00
Marten Seemann
5b19cc0ff4
Merge pull request #1802 from lucas-clemente/timeout-errors
...
don't send timeout errors on the wire
2019-03-05 18:06:00 +09:00
Marten Seemann
5ac7d7f750
Merge pull request #1803 from lucas-clemente/fix-racy-test-skipping
...
fix skipping of racy version negotiation integration test
2019-03-05 18:04:06 +09:00
Marten Seemann
33bf79c735
fix packet buffer usage when handling coalesced packets
2019-03-05 18:03:38 +09:00
Marten Seemann
896d2da380
Merge pull request #1805 from lucas-clemente/return-timeout-errors
...
consistently return timeout errors after timeouts
2019-03-05 17:31:48 +09:00
Marten Seemann
52cd372294
Merge pull request #1809 from lucas-clemente/go-generate
...
run go generate ./...
2019-03-05 17:12:55 +09:00
Marten Seemann
014753ea1d
add documentation about timeout errors
2019-03-05 16:22:53 +09:00
Marten Seemann
b65bc7d4d8
add an integration test for dial errors
2019-03-05 16:22:53 +09:00
Marten Seemann
9ed1a2e3e1
add integration test that we return timeout errors after an idle timeout
2019-03-05 16:22:48 +09:00
Marten Seemann
5e34cb1d71
run go generate ./...
2019-03-05 13:42:56 +09:00
Marten Seemann
ae6d237df8
fix skipping of racy version negotiation integration test
2019-03-02 18:33:48 +09:00
Marten Seemann
c03a8aaa97
don't wrap close errors in the streams map
...
A close error might for example be a timeout error. We want to preserve
the fact that it satisfies the net.Error interface and that Timeout() ==
true.
2019-03-02 17:58:18 +09:00
Marten Seemann
47c156c59b
don't send timeout errors on the wire
2019-03-02 16:40:03 +09:00
Marten Seemann
42ea34048a
Merge pull request #1800 from lucas-clemente/tls-errors
...
use the TLS error codes
2019-03-02 16:30:57 +09:00
Marten Seemann
59e9142426
retrieve the TLS alert from qtls when the handshake fails
2019-03-02 08:56:42 +09:00
Marten Seemann
e2dd9eaf58
Merge pull request #1799 from lucas-clemente/go-mod
...
add Go mod support
2019-03-02 08:28:49 +09:00
Marten Seemann
c00eb1f5b5
add Go mod support
2019-03-01 10:23:27 +09:00
Marten Seemann
d28794a944
Merge pull request #1798 from lucas-clemente/linter-fixes
...
use GolangCI-Lint instead of gometalinter
2019-02-28 22:35:24 +09:00
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