Commit Graph

2277 Commits

Author SHA1 Message Date
Marten Seemann
99a2853e7d remove non forward-secure dialing
This was broken for a long time, and won't be available when using the
TLS 1.3 handshake.
2018-01-02 23:26:55 +07:00
Marten Seemann
bd60e996dc Merge pull request #1080 from lucas-clemente/travis-go-1.10-beta
also run the Travis tests with Go 1.10 beta
2018-01-02 22:54:29 +07:00
Marten Seemann
49f7fe3cbc Merge pull request #1086 from lucas-clemente/fix-1085
fix race condition in the client crypto setup tests
2018-01-02 22:50:37 +07:00
Marten Seemann
ee1eeebe8a Merge pull request #1091 from lucas-clemente/close-example-roundtripper
close the h2quic.RoundTripper in the example client
2018-01-02 22:49:49 +07:00
Marten Seemann
3e9c8317db close the h2quic.RoundTripper in the example client
While it's not necessary, it's best practice to close the RoundTripper.
That way, QUIC can do a proper connection shutdown.
2017-12-30 13:45:11 +07:00
Marten Seemann
a02a6197c2 fix race condition in the client crypto setup tests 2017-12-26 15:35:00 +07:00
Marten Seemann
f42efdbca9 also run the Travis tests with Go 1.10 beta 2017-12-26 08:38:27 +07:00
Marten Seemann
ad3fbd3a01 Merge pull request #1071 from lucas-clemente/update-mint
update mint
2017-12-22 16:35:42 +07:00
Marten Seemann
ab0dd7f1f3 Merge pull request #1075 from lucas-clemente/fix-1074
fix flaky flow controller test
2017-12-22 16:35:35 +07:00
Marten Seemann
20816bb866 fix flaky flow controller test 2017-12-22 16:11:38 +07:00
Marten Seemann
14d4e5e9ec update mint
mint recently changed the signature of ExtensionList.Find.
2017-12-22 16:10:37 +07:00
Marten Seemann
a6eca911de Merge pull request #1070 from lucas-clemente/vendor-mint
vendor mint
2017-12-22 15:50:14 +07:00
Marten Seemann
22679ddb14 vendor mint 2017-12-22 10:13:58 +07:00
Marten Seemann
ae739f7cd2 Merge pull request #1068 from lucas-clemente/fix-1067
call the scheduleSending callback when stream.Close is called
2017-12-22 08:46:36 +07:00
Marten Seemann
0d6032a065 call the scheduleSending callback when stream.Close is called
The stream needs to send the STREAM frame containing the FIN bit.
2017-12-21 21:10:17 +07:00
Marten Seemann
45190882cc Merge pull request #1065 from lucas-clemente/fix-window-update-race
fix window update race
2017-12-21 19:18:52 +07:00
Marten Seemann
d195085f65 don't queue the complete window update, but only the stream ID 2017-12-21 19:03:52 +07:00
Marten Seemann
15ab0ae443 add a HasWindowUpdate method to the stream flow controller 2017-12-21 18:58:55 +07:00
Marten Seemann
8759fa2d8e Merge pull request #1063 from lucas-clemente/flowcontrol-autotuning
rewrite flow control auto-tuning
2017-12-21 18:44:05 +07:00
Marten Seemann
f7526b9883 rewrite flow control auto-tuning 2017-12-21 18:02:14 +07:00
Marten Seemann
ac05343b00 rename window increment to window size in the flow controller
No functional change expected.
2017-12-21 17:58:03 +07:00
Marten Seemann
8c0d8bb568 Merge pull request #1061 from lucas-clemente/fix-1051
fix race when dialing a new connection
2017-12-21 17:44:28 +07:00
Marten Seemann
820551bf22 Merge pull request #1064 from lucas-clemente/regenerate-gomocks
regenerate all gomocks after gomock output format was changed
2017-12-21 17:43:32 +07:00
Marten Seemann
d4f904b55b regenerate all gomocks after gomock output format was changed
No functional change expected.
2017-12-21 17:30:51 +07:00
Marten Seemann
552be1f403 Merge pull request #1062 from lucas-clemente/remove-unneeded-mockgen-line
remove unneeded mockgen command
2017-12-21 17:29:43 +07:00
Marten Seemann
f2a6c25124 remove unneeded mockgen command 2017-12-21 13:38:13 +07:00
Marten Seemann
2a0b71c66b fix race when dialing a new connection
When a connection error occurs, Dial can only return the error if the
session is closed with that error. Therefore, the session must be
created before client.listen() is called.
2017-12-21 13:25:49 +07:00
Marten Seemann
edb5fd751c Merge pull request #1058 from lucas-clemente/fix-stopping-of-testserver
fix stopping of testserver
2017-12-21 10:43:46 +07:00
Marten Seemann
e4e74e0873 properly stop the testserver at the end of a test in integration tests 2017-12-20 21:19:00 +07:00
Marten Seemann
ed212b789c Merge pull request #1057 from lucas-clemente/fix-h2quic-server-race
make h2quic.Server.ListenAndServe error if it was closed before
2017-12-20 21:16:48 +07:00
Marten Seemann
98595e8ca5 Merge pull request #1052 from lucas-clemente/travis-cert-expiry
print quic.clemente.io certificate expiration date in travis logs
2017-12-20 17:52:49 +07:00
Marten Seemann
a1058c0d97 make h2quic.Server.ListenAndServe error if it was closed before 2017-12-20 17:26:32 +07:00
Marten Seemann
5ff837cccd Merge pull request #1053 from lucas-clemente/server-close-wait-for-serve
wait for serve() to return before returning from server.Close()
2017-12-20 17:24:09 +07:00
Marten Seemann
9e61ce82fa print quic.clemente.io certificate expiration date in travis logs 2017-12-20 17:10:39 +07:00
Marten Seemann
96571b56e5 wait for serve() to return before returning from server.Close() 2017-12-20 16:59:38 +07:00
Marten Seemann
1692958f10 Merge pull request #1054 from lucas-clemente/disable-flaky-appveyor-test
disable flaky client test on AppVeyor
2017-12-20 16:56:09 +07:00
Lucas Clemente
5e80d86a89 Merge pull request #1050 from lucas-clemente/certs
Update certs
2017-12-20 10:49:31 +01:00
Marten Seemann
c50b360fe8 disable flaky client test on AppVeyor 2017-12-20 15:55:08 +07:00
Marten Seemann
d13e2aafe5 Merge pull request #1049 from lucas-clemente/queue-window-update-from-stream
queue stream window updates directly from stream.Read
2017-12-20 13:18:21 +07:00
Marten Seemann
c270de3538 queue stream window updates directly from stream.Read
By queueing receive window updates directly from stream.Read, it is no
longer necessary to ask every stream for window updates when sending a
packet.
2017-12-20 13:03:36 +07:00
Marten Seemann
74c00a8dd8 Merge pull request #1048 from lucas-clemente/callback-interface
pass an interface containing the callbacks to the stream
2017-12-20 12:58:43 +07:00
Marten Seemann
fc8fafd15e pass a callback containing the callbacks to the stream 2017-12-20 11:49:05 +07:00
Marten Seemann
44cff87e53 Merge pull request #1047 from lucas-clemente/fix-1044
don't send data that was queue before the stream write deadline expired
2017-12-20 11:43:38 +07:00
Marten Seemann
ea77974027 don't send data that was queue before the stream write deadline expired 2017-12-20 11:18:36 +07:00
Marten Seemann
76d3ec3ae4 Merge pull request #1046 from lucas-clemente/fix-1045
don't schedule sending when stream.Write is called after the deadline
2017-12-20 11:17:02 +07:00
Marten Seemann
d4b80bd8d0 don't schedule sending when stream.Write is called after the deadline 2017-12-20 10:59:09 +07:00
Marten Seemann
3245c81bbc Merge pull request #1043 from lucas-clemente/quic-mocks
generate the streamI mock in the quic package
2017-12-20 10:58:40 +07:00
Marten Seemann
d2e31c04ab generate the streamI mock in the quic package
By doing so, we can mock private methods of the stream, so they cannot
be type-asserted by users of quic-go.
2017-12-20 10:42:07 +07:00
Marten Seemann
54ac21fbef Merge pull request #1042 from lucas-clemente/simplify-blocked-frame
simplify sending of BLOCKED and STREAM_BLOCKED frames
2017-12-20 10:39:10 +07:00
Marten Seemann
092908d3e0 simplify sending of (connection-level) BLOCKED frames 2017-12-20 10:23:17 +07:00