Commit Graph

1465 Commits

Author SHA1 Message Date
Lucas Clemente
013d7fdb30 Simplify code in a few places
Found by running `gosimple ./...`
2017-04-13 16:43:58 +02:00
Lucas Clemente
b26d9f92b8 Merge pull request #531 from lucas-clemente/changelog
Add an empty changelog file
2017-04-13 12:02:34 +02:00
Marten Seemann
0d0391cf4f update CIs to Go 1.8.1 2017-04-13 11:21:54 +07:00
Lucas Clemente
b6b3e438fe Add an empty changelog file 2017-04-12 12:04:06 +02:00
Lucas Clemente
d51a4a1ba7 Merge pull request #527 from lucas-clemente/readme
Update readme and add a contributing section
v0.5.0
2017-04-11 18:32:57 +02:00
Lucas Clemente
61173cc2cb Update readme and add a contributing section 2017-04-11 17:35:34 +02:00
Marten Seemann
48065d5684 Merge pull request #520 from lucas-clemente/drop-go16
drop support for Go 1.6
2017-04-11 16:06:23 +07:00
Marten Seemann
331593d086 Merge pull request #518 from lucas-clemente/undecrytable-packets
fix bugs related to undecryptable packets
2017-04-11 15:49:10 +07:00
Marten Seemann
dea154d4bf add Go version to README 2017-04-11 15:47:38 +07:00
Marten Seemann
d73e99624d drop support for Go 1.6 2017-04-11 15:38:36 +07:00
Marten Seemann
81e06c1f02 don’t send a Public Reset if trial decryption succeeds
fixes #516
2017-04-11 10:45:08 +07:00
Marten Seemann
8565fdf722 fix limit of undecrytable packets queue length
fixes #517
Also fixes an off-by-one error, such that the queue now holds exactly
protocol.MaxUndecrytablePackets packets when enough undecryptable
packets are received.
2017-04-11 10:37:25 +07:00
Lucas Clemente
2a9f214381 Merge pull request #509 from lucas-clemente/fix-501
Read the initial log level from the QUIC_GO_LOG_LEVEL env if present
2017-04-10 20:47:05 +02:00
Lucas Clemente
ead9512daf Read the initial log level from the QUIC_GO_LOG_LEVEL env if present
We deliberately ignore any parsing errors.

Fixes #501.
2017-04-10 16:59:13 +02:00
Marten Seemann
de4bb37f31 Merge pull request #513 from lucas-clemente/new-benchmark
rewrite the benchmark test
2017-04-10 16:37:28 +07:00
Marten Seemann
1674087604 rewrite the benchmark test 2017-04-10 15:57:57 +07:00
Lucas Clemente
2102e19ca4 Merge pull request #508 from lucas-clemente/simplify-congestion
Simplify ackhandler and congestion by splitting up OnCongestionEvent
2017-04-07 00:58:04 +02:00
Lucas Clemente
6f82391a2d Merge pull request #510 from lucas-clemente/remove-unused
Remove several unused fields and symbols
2017-04-07 00:56:38 +02:00
Lucas Clemente
e2a0d9f77c Remove several unused fields and symbols
Detected with `unused -exports=true ./...`
2017-04-05 21:46:33 +01:00
Lucas Clemente
89d0ae9810 Simplify ackhandler and congestion by splitting up OnCongestionEvent
No functional change.
2017-04-05 21:34:08 +02:00
Lucas Clemente
fb5cccf799 Update expired certificate 2017-04-03 09:49:28 +02:00
Lucas Clemente
e66548688e Merge pull request #502 from lucas-clemente/loss-recovery
Implement loss recovery from the current WG draft
2017-04-02 11:05:19 +02:00
Lucas Clemente
612fa16a43 Move SentPacketHandler.CheckForError into SentPacket 2017-04-02 10:29:09 +02:00
Lucas Clemente
1c5380c49b Implement loss recovery from the current WG draft
Fixes #498 and will hopefully go a long way towards fixing the many
flaky tests.
2017-04-02 10:29:09 +02:00
Lucas Clemente
959a8d0e4f Merge pull request #503 from lucas-clemente/fix-484
Fix flaky appveyor tests
2017-03-31 10:24:49 +02:00
Lucas Clemente
22cdbf7b49 Fix flaky appveyor tests
We were relying on the number of goroutines in those tests. This commit
replaces that logic with grepping through the current callstack.

The 'doesn't return after version negotiation is established if no
ConnState is defined' test is disabled, since I can't figure out a way
to make it work without leaking sessions. I filed #506 to track that
work.

Fixes #484.
2017-03-30 21:13:24 +02:00
Marten Seemann
75ac4e6781 Merge pull request #504 from lucas-clemente/fix-499
enable flow control window auto-tuning for the first WindowUpdate
2017-03-30 16:43:06 +07:00
Marten Seemann
951b85d42a enable flow control window auto-tuning for the first WindowUpdate
fixes #499
2017-03-30 12:45:19 +07:00
Marten Seemann
584fc021bf add tests for incorrect nullAEAD signatures in both cryptoSetups 2017-03-22 19:32:54 +07:00
Marten Seemann
19aad731ed improve logging and tests of cryptoSetupServer 2017-03-22 19:23:48 +07:00
Marten Seemann
0ef6527165 simplify version negotiation code in the client 2017-03-22 18:31:23 +07:00
Marten Seemann
906f80e804 Merge pull request #493 from lucas-clemente/raceconditions
improve the CryptoSetup interface
2017-03-22 18:12:10 +07:00
Marten Seemann
2903f9b238 return a lambda to for sealing a packet in the CryptoSetup 2017-03-22 16:52:00 +07:00
Marten Seemann
b4d22b3c75 fix race condition in the client 2017-03-22 16:50:33 +07:00
Lucas Clemente
06446b95f3 Merge pull request #491 from lucas-clemente/lucas-clemente-patch-1
Change client example to point to clemente.io
2017-03-21 15:04:33 +01:00
Marten Seemann
f4113b772a remove stray Print command in tests 2017-03-20 16:10:30 +07:00
Marten Seemann
a0bb98207b Merge pull request #489 from lucas-clemente/fix-411
send a Public Reset when receiving a CHLO with the FHL2 tag
2017-03-20 16:07:08 +07:00
Marten Seemann
ab12aa2f26 Merge pull request #487 from lucas-clemente/drop-34
drop support for QUIC 34
2017-03-20 16:04:42 +07:00
Lucas Clemente
016ae607a5 Change client example to point to clemente.io
This caused confusion in #486.
2017-03-20 10:01:19 +01:00
Marten Seemann
6d5c9776e9 send a Public Reset when receiving a CHLO with the FHL2 tag
Fixes #411.

Chrome sends the FHL2 when it wants to perform a head-of-line blocking
experiment, introduced in QUIC version 36 (see
https://codereview.chromium.org/2115033002). We don’t support this
experiment. By sending a Public Reset when receiving this tag we force
Chrome to use the TCP fallback.
2017-03-20 12:35:34 +07:00
Marten Seemann
28c115fee1 drop support for QUIC 34
fixes #368
2017-03-19 20:57:28 +07:00
Marten Seemann
9a1e86cf5e Merge pull request #485 from lucas-clemente/fix-483
return an error when the network conn is closed in Listener.Serve()
2017-03-17 10:11:04 +07:00
Marten Seemann
021c9d5bcd return an error when the network conn is closed in Listener.Serve()
fixes #483
2017-03-16 14:04:19 +07:00
Marten Seemann
6d0ac39cf7 Merge pull request #482 from lucas-clemente/fix-479
send a HeadersStreamDataDecompressFailure error when H2 frame parsing fails
2017-03-15 17:15:21 +07:00
Marten Seemann
79d1bd9061 Merge pull request #481 from lucas-clemente/too-large-packets
remove ineffective check for too large packets
2017-03-15 17:15:11 +07:00
Marten Seemann
7f416a06c4 send a HeadersStreamDataDecompressFailure error when H2 frame parsing fails
fixes #479
2017-03-15 11:11:38 +07:00
Marten Seemann
841421ef7a remove ineffective check for too large packets
closes #468
2017-03-15 09:30:06 +07:00
Marten Seemann
4f16503ab9 save the TLS config in the h2quic client
fixes #476
2017-03-15 09:18:06 +07:00
Marten Seemann
0a825a397d Merge pull request #477 from lucas-clemente/session-localaddr
add a Session.LocalAddr()
2017-03-10 00:38:34 +07:00
Marten Seemann
ab90b3f4d0 add tests for session.LocalAddr and session.RemoteAddr 2017-03-10 00:13:20 +07:00