Marten Seemann
3b20133e84
Merge pull request #3096 from lucas-clemente/allow-zero-rtt-on-initial-window-increase
...
allow 0-RTT when flow control windows are increased
2021-03-19 17:52:52 +08:00
Marten Seemann
d9c16ea5f1
improve the 0-RTT rejection integration test
2021-03-17 19:12:17 +08:00
Marten Seemann
31ac5ca60d
allow 0-RTT when the server's connection receive limit is increased
2021-03-17 18:53:54 +08:00
Marten Seemann
6c3876d6b3
allow 0-RTT when the server's stream receive limit is increased
2021-03-17 18:46:11 +08:00
Marten Seemann
e5a83e1409
Merge pull request #3086 from lucas-clemente/accept-0rtt-on-stream-limit-increase
...
allow 0-RTT resumption if the server's stream limit was increased
2021-03-16 23:15:55 +08:00
Marten Seemann
5208845191
introduce a logging.CloseReason for version negotiation errors
2021-03-15 13:36:45 +08:00
Marten Seemann
3588cddd43
allow 0-RTT resumption if the server's stream limit was increased
2021-03-11 21:37:40 +08:00
Marten Seemann
2bd316b89e
store 0-RTT queues in the packet handler map
...
This prevents a race condition between receiving of 0-RTT packets and
the creation of new session.
2021-03-11 21:16:50 +08:00
Marten Seemann
bab0384444
use a tracer to check for received 0-RTT packet in 0-RTT integration tests
2021-03-11 21:05:41 +08:00
Marten Seemann
7042ef8f8f
simplify 0-RTT integration tests
2021-03-11 21:05:41 +08:00
Marten Seemann
f8313d868f
return an Err0RTTRejected when the server rejects a 0-RTT connection
2021-03-09 18:02:12 +08:00
Marten Seemann
6440908f53
remove non-functioning 0-RTT test with different conn ID lengths
2021-03-09 17:27:10 +08:00
Marten Seemann
506281b904
Merge pull request #3058 from lucas-clemente/fix-0rtt-conn-id-issuing
...
fix issuing of connection IDs when dialing a 0-RTT connections
2021-03-09 16:11:17 +08:00
Marten Seemann
67503f9d41
fix flaky accept queue integration test
2021-03-05 11:55:45 +08:00
Marten Seemann
10217a6f3b
fix issuing of connection IDs when dialing a 0-RTT connections
...
When dialing a 0-RTT connection, the client first restores the transport
parameters from the original connection, and then applies the transport
parameters provided by the server on the new connections.
2021-03-03 14:10:06 +08:00
Marten Seemann
ac87292e87
start path MTU discovery when the handshake completes
2021-03-03 12:00:51 +08:00
Marten Seemann
82ac6dcf6d
rename MaxReceivePacketSize to MaxPacketBufferSize
...
We use the same buffer size for sending and receiving packets.
2021-03-03 12:00:14 +08:00
Marten Seemann
74569a514b
Merge pull request #3040 from lucas-clemente/improve-handshake-tests
...
make the certificate verificiation integration tests more explicit
2021-03-03 00:27:46 +08:00
Marten Seemann
11c5c548b6
improve timeout measurement in the timeout test
...
When not sending any packets, the idle timeout starts when receiving the
HANDSHAKE_DONE frame (on the client side), not when the handshake completes.
2021-02-18 09:59:04 +08:00
Marten Seemann
7ee88def4a
make it possible to use a custom tracer and the default tracer in tests
2021-02-18 09:59:04 +08:00
Marten Seemann
b94a4440cc
simplify connection tracer creation in integration tests
2021-02-18 09:59:04 +08:00
Marten Seemann
4096eeaf92
make the certificate verificiation integration tests more explicit
2021-02-15 11:01:17 +08:00
Marten Seemann
aa68b3015d
remove the metrics package
...
Recording every sent and received packet in OpenCensus is quite expensive.
Arguably, the metrics needs depend on the application, so that's where the
implementation of a metrics collector should live anyway.
2021-02-05 16:38:39 +08:00
Marten Seemann
8e7a4fe13f
fix flaky stream cancelation integration test
2021-01-20 12:38:41 +08:00
Marten Seemann
70fe7be603
corrupt more ACKs in the MITM test
2021-01-18 19:48:16 +08:00
Marten Seemann
bef8207bf6
fix flaky key update integration test
2021-01-18 15:44:09 +08:00
Marten Seemann
d04662a964
add a RestoredTransportParameters method to the logging interface
2021-01-15 17:13:46 +08:00
Marten Seemann
b022d04b0f
make the OpenStreamSync cancelation test less flaky
2021-01-04 15:12:49 +08:00
Marten Seemann
770ad155f2
use the standard quic.Config in the deadline tests
2020-12-31 18:35:08 +08:00
Marten Seemann
9693a46d31
Merge pull request #2162 from lucas-clemente/datagram
...
implement the datagram draft
2020-12-17 11:22:40 +07:00
Marten Seemann
1728a6c90c
add an integration test for datagram transfers
2020-12-09 15:47:24 +07:00
Marten Seemann
356c69944e
return a quic.ConnectionState from Session.ConnectionState()
2020-12-09 15:31:23 +07:00
Marten Seemann
595f6f814a
introduce a quic.Config.HandshakeIdleTimeout, remove HandshakeTimeout
2020-12-08 16:12:39 +07:00
Marten Seemann
ff1f433c36
add a generic Log() function to the connection tracer
2020-12-06 09:33:38 +07:00
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