Commit Graph

1483 Commits

Author SHA1 Message Date
Marten Seemann
08cf78d2b0 rewrite the QUIC proxy used in the integrationtests
The new QUIC proxy allows to listen on “:0”, which allows us to get rid
of all “address already in use” errors. The constructor now takes an
Opts struct, which makes configuring it easier.
2017-04-25 23:09:45 +07:00
Lucas Clemente
61f5f1e668 Merge pull request #554 from lucas-clemente/travis-no-retry
Remove travis retry
2017-04-19 14:34:55 +02:00
Lucas Clemente
671efecf29 Remove travis retry 2017-04-19 12:13:55 +02:00
Lucas Clemente
b8bb9750f4 Merge pull request #548 from lucas-clemente/server-tests
add integration tests with the quic_server
2017-04-19 11:23:36 +02:00
Marten Seemann
fb127ecfd5 add integration tests with the quic_server 2017-04-18 16:58:20 +02:00
Marten Seemann
8b351a9b7e Merge pull request #552 from lucas-clemente/fix-551
fix race condition when saving the encryption level in h2quic.Client
2017-04-18 17:02:19 +07:00
Marten Seemann
dc782e78eb fix race condition when saving the encryption level in h2quic.Client
fixes #551
2017-04-18 14:30:25 +07:00
Marten Seemann
2a1b3da971 fix flaky stream tests
fixes #549
2017-04-18 10:15:54 +07:00
Lucas Clemente
4b100409c4 Merge pull request #547 from lucas-clemente/fix-integrationtests
Fix quic_client integration tests
2017-04-17 17:36:43 +02:00
Lucas Clemente
a896e81cd9 Fix quic_client integration tests
Apparently the output format of the quic_client changed.
2017-04-17 15:31:51 +02:00
Marten Seemann
325eef59a7 Merge pull request #543 from lucas-clemente/fix-542
fix parsing of STREAM frames that have the FinBit set
2017-04-16 15:06:13 +07:00
Marten Seemann
a06abf91f5 fix parsing of STREAM frames that have the FinBit set
fixes #542
2017-04-16 14:52:34 +07:00
Marten Seemann
09c6c4118b fix flaky flowcontroller tests 2017-04-16 12:48:18 +07:00
Marten Seemann
6f40cc83f7 Merge pull request #539 from lucas-clemente/fix-528
fix flaky client test
2017-04-14 23:31:51 +07:00
Marten Seemann
7104604086 fix flaky client test
fixes #528
2017-04-14 23:07:00 +07:00
Lucas Clemente
130620d18c Merge pull request #511 from lucas-clemente/simplify
Simplify code in a few places
2017-04-13 17:06:41 +02:00
Lucas Clemente
26ed505969 Merge pull request #534 from lucas-clemente/fix-533
Fix wrong scfg expiry test in some timezones
2017-04-13 16:45:36 +02:00
Lucas Clemente
013d7fdb30 Simplify code in a few places
Found by running `gosimple ./...`
2017-04-13 16:43:58 +02:00
Lucas Clemente
dd89967035 Fix wrong scfg expiry test in some timezones
Fixes #533.
2017-04-13 16:30:34 +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