Marten Seemann
f886be4cce
enable the gofmt linter
2020-09-12 11:26:37 +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
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
Marten Seemann
9feba60b8a
add a test that waits for handshake completion after sending 0-RTT data
2020-01-07 11:16:42 +07:00
Marten Seemann
00150e1d94
add some integration tests for 0-RTT handshakes
2020-01-01 18:04:02 +04:00
Marten Seemann
ba7434ce65
improve the integration tests that drops handshake packets
2019-12-18 19:18:44 +04:00
Marten Seemann
27549c5665
use the minimum of the two peers' max_idle_timeouts
2019-12-11 14:04:33 +04:00
Marten Seemann
f066e2fc5f
remove the testlog package
2019-11-30 19:58:30 +07:00
Marten Seemann
07dcbc8496
remove the testserver package
2019-11-25 12:54:58 +07:00
Marten Seemann
ea0050e2a2
update HTTP/3 errors
...
* rename HTTP_UNEXPECTED_FRAME to HTTP_FRAME_UNEXPECTED
* remove the HTTP_WRONG_STREAM error
* rename errors from HTTP_ to H3_
2019-10-23 09:43:47 +07:00
Marten Seemann
6b22f36d82
add the stylecheck linter
2019-09-17 13:50:19 +07:00
Marten Seemann
c8aed2861f
add the scopelint linter
2019-09-17 13:44:05 +07:00
Marten Seemann
f9bbac8b04
update HTTP/3 errors
2019-09-04 12:06:17 +07:00
Marten Seemann
ab65e39c3b
Merge pull request #2091 from lucas-clemente/request-cancelation
...
implement HTTP request cancelations
2019-08-31 17:32:25 +07:00