Marten Seemann
47c3cd8bb4
send 5 kB of stream data in the handshake drop test
2020-11-17 13:34:01 +07:00
Marten Seemann
8752576f26
run gofumpt, enable the gofumpt linter
2020-10-26 09:33:35 +07:00
Marten Seemann
0701ac8059
Merge pull request #2814 from VinozzZ/master
...
client: Add DialEarlyContext and DialAddrEarlyContext API
2020-10-08 09:31:04 +07:00
Yingrong Zhao
36add0e7a0
client: Add DialEarlyContext and DialAddrEarlyContext API
2020-10-07 22:20:28 -04:00
Marten Seemann
55a07c34ee
add the exhaustive linter
2020-10-05 13:47:57 +07:00
Marten Seemann
77f7476bf7
include the error code in the string for CRYPTO_ERRORs
2020-09-25 20:23:05 +07:00
Marten Seemann
77d80f2632
check that keys are actually updated in the key update integration test
2020-09-23 12:31:54 +07:00
Marten Seemann
a063500d73
use a package-level variable to set the key update frequency
2020-09-22 19:55:52 +07:00
Marten Seemann
e9906b4d2b
Merge pull request #2768 from lucas-clemente/reduce-handshake-drop-timeout
...
reduce the handshake timeout to two minutes in the handshake drop tests
2020-09-14 14:00:31 +07:00
Marten Seemann
f886be4cce
enable the gofmt linter
2020-09-12 11:26:37 +07:00
Marten Seemann
309c578cb1
reduce the handshake timeout to two minutes in the handshake drop tests
2020-09-10 18:08:29 +07:00
Marten Seemann
980c840359
test that both endpoints time out in the timeout integration test
2020-09-05 18:10:44 +07:00
Marten Seemann
125318d9c9
add support for Go 1.15
2020-08-20 13:33:33 +07:00
Marten Seemann
99c0df0faf
Merge pull request #2690 from lucas-clemente/fix-integration-test-flags
...
fix reading of flag values in integration tests
2020-07-29 07:56:04 +07:00
Marten Seemann
260356140f
remove ACK decimation
...
The benefits of this are unclear when using Reno / Cubic.
2020-07-28 10:03:05 +07:00
Marten Seemann
6ac059564d
fix reading of flag values in integration tests
...
Flag values are not available in init(), and since Go 1.13, it's not
possible to call flag.Parse() in init().
2020-07-28 08:47:24 +07:00
Marten Seemann
19ab01c064
add an integration test that randomly sets tracers
2020-07-22 19:22:49 +07:00
Marten Seemann
1c1c24545f
run integration tests with qlog and metrics on CircleCI
2020-07-20 11:31:33 +07:00
Marten Seemann
2f63bc0731
pass a logging.Tracer to the packet handler map
2020-07-15 20:45:36 +07:00
Marten Seemann
ee24d3899e
simplify the Tracer interface by combining the TracerFor... methods
2020-07-11 13:22:52 +07:00
Marten Seemann
1a0b642ac1
add integration tests using faulty packet conns
2020-07-10 18:27:41 +07:00
Marten Seemann
b5a3ff028d
fix flaky cancellation integration test
2020-07-06 15:28:29 +07:00
Marten Seemann
ac606222e0
replace the GetLogWriter quic.Config option by a Tracer interface
2020-07-01 16:57:03 +07:00
Marten Seemann
e3a5c31bac
add an integration test for streaming HTTP messages in a request
2020-06-27 11:43:00 +07:00
Marten Seemann
5e1301d3ab
Merge pull request #2617 from lucas-clemente/proxy-reordering
...
rewrite the proxy to avoid packet reordering
2020-06-22 14:27:32 +07:00
Marten Seemann
0baf16ea4e
rewrite the proxy to avoid packet reordering
2020-06-20 15:46:06 +07:00
Marten Seemann
b928ad7e4f
fix flaky INVALID_TOKEN integration test
2020-06-18 09:55:24 +07:00
Marten Seemann
2e9b92ab69
rename the SERVER_BUSY error to CONNECTION_REFUSED
2020-06-10 12:13:40 +07:00
Marten Seemann
b91874a0e5
add an integration test testing that ACKs are bundled
2020-06-01 09:56:07 +07:00
Marten Seemann
e33f7d0fb9
add integration tests using a very long certificate chain
...
This will trigger the amplification protection.
2020-05-27 09:40:51 +07:00
Marten Seemann
e4f02ff68c
generate a new CA and cert chain for every run of the integration tests
2020-05-27 09:40:51 +07:00
Marten Seemann
a9e5686cdf
fix flaky proxy test
2020-05-04 12:51:02 +07:00
Marten Seemann
b9ab1d172d
Merge pull request #2440 from lucas-clemente/integrationtests-qlog
...
add a command line option to export qlogs from the integration tests
2020-03-26 21:07:10 +07:00
Marten Seemann
a5b967a309
add a command line option to export qlogs from the integration tests
2020-03-26 20:37:08 +07:00
Marten Seemann
a82d6bb910
qlog stateless resets
2020-03-26 20:36:26 +07:00
Marten Seemann
12992ad4e2
Merge pull request #2412 from lucas-clemente/random-rtt-integration-test
...
add an integration test that introduces packet reordering
2020-03-10 18:10:14 +07:00
Marten Seemann
10f9b2eb86
add an integration test that introduces packet reordering
2020-03-08 15:31:53 +07:00
Marten Seemann
0b3340493a
update GolangCI-Lint to v1.23.8
2020-03-05 10:20:15 +07:00
Marten Seemann
e57caf0bae
send an INVALID_TOKEN error when receiving an invalid token
2020-02-25 19:43:57 +07:00
Marten Seemann
4fc5974938
fix flaky 0-RTT Retry test
2020-02-24 19:09:00 +07:00
Marten Seemann
d8d622ee99
fix flaky 0.5-RTT data test
2020-02-22 16:17:34 +07:00
Marten Seemann
f91dfda8c3
make the TLS cipher suites configurable
2020-02-01 15:58:40 +07:00
Marten Seemann
8476b9c7e6
reject 0-RTT when the ALPN changed
2020-01-30 13:12:42 +07:00
Marten Seemann
5ee7498595
fix the 0-RTT rejection integration test
2020-01-30 09:47:49 +07:00
Marten Seemann
78fdb9256b
add test checking that 0-RTT is rejected if transport parameters changed
2020-01-30 09:21:10 +07:00
Luke Tucker
6407f5bf68
Fix keepalive ping ( #2316 )
...
The firstAckElicitingPacketAfterIdleSendTime condition was inverted
in a recent PR, maybe just a typo. This was causing only one ping
to be sent during periods of no activity. The ack from the first
keepalive ping causes firstAckElicitingPacketAfterIdleSentTime
to be set to zero. If there is no further activity, it will remain
zero and prevent further keepalive pings.
2020-01-27 11:13:54 +07:00
Marten Seemann
a93e544c94
remove Session.Close()
...
Session.Close() sends a transport-level error code. Applications should
not be able to call this function, but use CloseWithError() instead.
2020-01-26 17:41:53 +07:00
Marten Seemann
5a566f2176
Merge pull request #2226 from lucas-clemente/retry-integrity
...
implement the retry integrity tag
2020-01-17 17:19:15 +07:00
Marten Seemann
8b52e62b86
allow corrupting of Retry packets in the MITM integration test
2020-01-17 13:42:57 +07:00
Marten Seemann
eeba3951ae
only enable 0-RTT when using ListenEarly and DialEarly
2020-01-17 11:22:12 +07:00