Commit Graph

4507 Commits

Author SHA1 Message Date
Marten Seemann
d277e013ab fix race condition in the crypto setup tests 2020-05-05 18:13:14 +07:00
Marten Seemann
d4757395b6 make it possible to run the handshake unit tests with race detector 2020-05-05 18:13:12 +07:00
Marten Seemann
4d83009c26 Merge pull request #2519 from lucas-clemente/fix-stream-deadline-timer-leak
stop the deadline timer in Stream.Read and Write
2020-05-05 18:08:20 +07:00
Marten Seemann
5aec9daf86 Merge pull request #2513 from lucas-clemente/pto-count-on-ack
don't reset pto_count on Initial ACKs
2020-05-05 18:07:07 +07:00
Marten Seemann
5de2090b49 Merge pull request #2525 from lucas-clemente/racy-session-tests
fix all race conditions in the session tests
2020-05-05 18:06:46 +07:00
Marten Seemann
4b7494d22e Merge pull request #2526 from lucas-clemente/wait-for-server-run-loop
make sure that the server's run loop returned when closing
2020-05-05 18:04:44 +07:00
Marten Seemann
95879d4872 Merge pull request #2522 from lucas-clemente/fix-flaky-proxy-test
fix flaky proxy test
2020-05-05 18:03:58 +07:00
Marten Seemann
f2efe19c3c fix race conditions in the packet sending tests in the session 2020-05-05 14:37:18 +07:00
Marten Seemann
e1d1421111 fix racy idle timeout test in the session 2020-05-05 14:37:18 +07:00
Marten Seemann
de3f04f697 fix racy transport parameter test in the session 2020-05-05 14:37:18 +07:00
Marten Seemann
2ea3b534bc fix race conditions in the session tests that test closing 2020-05-05 14:37:18 +07:00
Marten Seemann
aabdb172ff fix race condition in the client session tests 2020-05-05 14:37:18 +07:00
Marten Seemann
380ba4877b make sure that the server's run loop returned when closing 2020-05-05 12:40:53 +07:00
Marten Seemann
996dd42055 move deadlineTimer declaration out of the Read loop 2020-05-04 18:46:51 +07:00
Marten Seemann
a9e5686cdf fix flaky proxy test 2020-05-04 12:51:02 +07:00
Marten Seemann
93cee1e07b stop the deadline timer in Stream.Read and Write 2020-05-03 11:22:58 +07:00
Marten Seemann
c0b6d4e141 Merge pull request #2516 from lucas-clemente/stop-timer
stop the timer when the session's run loop returns
2020-05-02 09:46:36 +07:00
Marten Seemann
286dcf555f create the session timer at the beginning of the run loop 2020-05-02 08:35:35 +07:00
Marten Seemann
1db3f06e87 stop the timer when the session's run loop returns 2020-05-02 07:53:47 +07:00
Marten Seemann
6d66eac1b9 Merge pull request #2504 from lucas-clemente/stream-buffer
make it more likely that a STREAM frame is bundled with the FIN
2020-05-01 10:40:51 +07:00
Marten Seemann
9905774c40 make it more likely that a STREAM frame is bundled with the FIN 2020-05-01 10:07:31 +07:00
Marten Seemann
538cbf7dc0 don't reset the PTO count on Initial ACKs before address validation 2020-05-01 09:58:34 +07:00
Marten Seemann
15a19f681d add a unit test for resetting of the PTO count when receiving an ACK 2020-05-01 09:54:03 +07:00
Marten Seemann
81daa8afd3 Merge pull request #2507 from lucas-clemente/disable-tls13-compatibility-mode
disable TLS 1.3 compatibility mode
2020-04-25 16:27:29 +07:00
Marten Seemann
4e1d69f688 Merge pull request #2508 from lucas-clemente/remove-chacha-bug-workaround
update the ChaCha implementation, remove 0xffffffff workaround
2020-04-25 16:26:24 +07:00
Marten Seemann
d12a7aacd6 Merge pull request #2506 from lucas-clemente/interop-resumption-wait-for-ticket
wait for the session ticket in the interop resumption test
2020-04-25 16:25:33 +07:00
Marten Seemann
895ed74c9e Merge pull request #2505 from lucas-clemente/fix-remote-addr-qlogging
fix qlogging of the remote address when dialing a new connection
2020-04-25 16:24:27 +07:00
Marten Seemann
97e191f3b4 update the ChaCha implementation, remove 0xffffffff workaround 2020-04-24 10:18:41 +07:00
Marten Seemann
3fc6869d28 disable TLS 1.3 compatibility mode 2020-04-23 15:04:34 +07:00
Marten Seemann
032fe1e5de wait for the session ticket in the interop resumption test 2020-04-21 12:56:32 +07:00
Marten Seemann
4e4ccdb007 fix qlogging of the remote address when dialing a new connection 2020-04-20 14:30:28 +07:00
Marten Seemann
02d869a28f Merge pull request #2502 from lucas-clemente/reset-pto-count-on-retry
reset the PTO count when receiving a Retry
2020-04-17 15:45:08 +07:00
Marten Seemann
d1d4e5ce02 reset the PTO count when receiving a Retry 2020-04-17 15:15:11 +07:00
Marten Seemann
dd27bce3fb Merge pull request #2501 from lucas-clemente/qlog-timeouts
qlog session timeouts
2020-04-17 14:56:55 +07:00
Marten Seemann
9c165ccddf Merge pull request #2500 from lucas-clemente/no-retransmission-after-cancelation
don't dequeue retransmitted STREAM frames after the stream was canceled
2020-04-17 14:56:44 +07:00
Marten Seemann
7b1c4e7d80 don't dequeue retransmitted STREAM frames after the stream was canceled 2020-04-17 10:06:42 +07:00
Marten Seemann
88337ed8c0 fix packing of probe packets when retransmissions are canceled 2020-04-17 10:06:42 +07:00
Marten Seemann
dc3c96debf qlog session timeouts 2020-04-17 08:23:25 +07:00
Marten Seemann
16e3ddb196 Merge pull request #2498 from lucas-clemente/fix-qlog-time-on-ci
use the TIMESCALE_FACTOR in the qlog tests
2020-04-16 16:18:40 +07:00
Marten Seemann
02c6f0c2d9 use the TIMESCALE_FACTOR in the qlog tests 2020-04-16 16:01:17 +07:00
Marten Seemann
f8720bbd55 Merge pull request #2497 from lucas-clemente/logging-numbers
use decimal numbers for logging packet numbers, stream offsets and byte counts
2020-04-16 15:52:07 +07:00
Marten Seemann
b31f3356d3 Merge pull request #2493 from lucas-clemente/qlog-version-negotiation
qlog version negotiation packets
2020-04-16 15:51:49 +07:00
Marten Seemann
9bac78cb46 Merge pull request #2496 from lucas-clemente/fix-packet-header-qlogging
fix qlogging of packet headers
2020-04-16 15:51:21 +07:00
Marten Seemann
98881158a9 Merge pull request #2481 from lucas-clemente/drop-unexpected-version
drop packets with version numbers that don't match the session's version
2020-04-16 10:06:48 +07:00
Marten Seemann
30618a31fe fix qlogging of packet headers 2020-04-16 09:52:19 +07:00
Marten Seemann
e116e2f4cc use decimal number for logging stream offsets and byte counts 2020-04-16 09:50:55 +07:00
Marten Seemann
140b90449b use decimal numbers when logging packet numbers 2020-04-16 09:50:55 +07:00
Marten Seemann
74c9bd6031 qlog the supported versions of a version negotiation packet 2020-04-16 09:50:34 +07:00
Marten Seemann
70ede9d73a qlog received version negotiation packets 2020-04-16 09:50:34 +07:00
Marten Seemann
416dc485f8 add a qlog method to log version negotiation packets 2020-04-16 09:50:34 +07:00