Commit Graph

1516 Commits

Author SHA1 Message Date
Marten Seemann
b305cd674f make it possible to configure the QUIC versions for the server 2017-05-05 18:05:57 +08:00
Marten Seemann
cc2dc2aded Merge pull request #587 from lucas-clemente/fix-425
close session if reading from the socket fails in the server
2017-05-05 16:49:01 +08:00
Lucas Clemente
fa12f3664d Merge pull request #582 from lucas-clemente/improve-ackhandler-logs
Improve ackhandler logs
2017-05-05 10:48:35 +02:00
Marten Seemann
f7f1ddf496 Merge pull request #591 from lucas-clemente/fix-readme-goget
fix go get command in README
2017-05-05 16:48:12 +08:00
Marten Seemann
b5ad169321 Merge pull request #586 from lucas-clemente/ginkgo-logfile-flag
introduce a logfile command line flag for the integrationtests
2017-05-05 16:40:25 +08:00
Marten Seemann
4f6e31a08b Merge pull request #572 from lucas-clemente/remove-closecallback
remove the closeCallback from the session
2017-05-05 16:31:16 +08:00
Marten Seemann
6f5c84b1da fix go get command in README
fixes #590
2017-05-05 16:23:31 +08:00
Marten Seemann
eacd994e67 close session if reading from the socket fails in the server
fixes #425
2017-05-04 13:15:20 +08:00
Marten Seemann
53583059d9 Merge pull request #578 from lucas-clemente/fix-session-flakiness
fix several flaky session tests
2017-05-04 13:03:01 +08:00
Marten Seemann
6263c07a49 fix several flaky session tests 2017-05-04 12:33:23 +08:00
Marten Seemann
a6f67c7e14 simplify error handling in the session 2017-05-03 14:07:53 +08:00
Marten Seemann
96e49b0c31 remove the closeCallback from the session
The closeCallback was run when a session was closed, i.e. after the run
loop of the session stopped. Instead of explicitely calling this callback
from the session, the caller of session.run() can just execute the code
after session.run() returns.
2017-05-03 14:06:47 +08:00
Marten Seemann
5f25ffc795 Merge pull request #580 from lucas-clemente/ginkgo-clienttest-timeouts
set ginkgo timeouts for client integrationtests
2017-05-03 11:33:32 +07:00
Lucas Clemente
2674c98359 Merge pull request #584 from mholt/patch-1
Make responseWriter a CloseNotifier
2017-05-02 08:37:03 +02:00
Matt Holt
65923b35f5 Make responseWriter a CloseNotifier
This is a temporary no-op that returns a new channel;
eventually it'd be nice if this worked for real.
2017-05-02 00:13:14 -06:00
Lucas Clemente
97ccb08f94 Merge pull request #581 from lucas-clemente/fix-stream-race
Fix a data race in stream.Read
2017-04-30 15:47:04 +02:00
Lucas Clemente
a2e079c052 Remove an unnecessary error return value 2017-04-30 15:32:01 +02:00
Lucas Clemente
5aba345811 Emit a debug log message when congestion limited 2017-04-30 15:32:01 +02:00
Lucas Clemente
a7c60e3229 Fix a data race in stream.Read 2017-04-30 15:30:31 +02:00
Marten Seemann
8b4042ddd1 introduce a logfile command line flag for the integrationtests
Use: ginkgo -failFast -- -logfile=log.txt
Ginkgo will create log.txt and set the log level to LogLevelDebug. Use
of -failFast is recommended to make sure that no other tests are run if
one test fails (the log file would be overwritten otherwise).
2017-04-30 15:13:29 +07:00
Marten Seemann
076e5a38d3 set ginkgo timeouts for client integrationtests 2017-04-30 14:02:37 +07:00
Marten Seemann
ff42100f1b Merge pull request #571 from lucas-clemente/wip-quic37
add support for QUIC 37
2017-04-29 17:10:53 +07:00
Marten Seemann
0a2c37d42a add QUIC 37 to supported versions
fixes #375
Chrome tests are disabled for QUIC 37, since the Chrome version in the
docker image doesn’t support this version yet.
2017-04-29 16:59:32 +07:00
Marten Seemann
07f14adfe0 Merge pull request #574 from lucas-clemente/fix-569
drop version negotiation packets that list the version the client chose
2017-04-28 23:56:28 +07:00
Marten Seemann
07cbfec931 drop version negotiation packets that list the version the client chose
fixes #569
2017-04-27 20:22:56 +07:00
Marten Seemann
194c56fcbc don’t pass version negotiation packets to the session
Version negotiation packets don’t have any payload. They must not be
passed to the session, because they’ll end up there as undecryptable
packets.
2017-04-27 20:09:14 +07:00
Marten Seemann
40cdea8deb remove stray fmt.Println in integrationtests 2017-04-27 18:41:31 +07:00
Marten Seemann
3c223b22a2 include peer perspective in nullAEAD
ref #375
2017-04-27 18:05:24 +07:00
Marten Seemann
c62fa83248 Merge pull request #560 from lucas-clemente/new-proxy
rewrite the QUIC proxy used in the integrationtests
2017-04-25 23:25:58 +07:00
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
4c0b922688 Merge pull request #567 from lucas-clemente/echo-example
Add an echo example
2017-04-24 16:14:57 +02:00
Lucas Clemente
8cd1deba54 Add an echo example
Fixes #557.
2017-04-24 15:57:22 +02:00
Marten Seemann
31be6464be Merge pull request #562 from lucas-clemente/fix-flaky-server-test
fix flaky integration tests with the quic_server
2017-04-24 15:51:58 +07:00
Marten Seemann
f9404ff646 fix flaky integration tests with the quic_server
Both the CA and the server certificate should already be valid when the
test is started.
2017-04-23 11:55:42 +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