Commit Graph

3892 Commits

Author SHA1 Message Date
Marten Seemann
d91da7401b allow PING frames at every encryption level 2019-10-15 10:17:02 -07:00
Marten Seemann
2ef8429ce1 Merge pull request #2166 from juliens/alt-svc
Fix Alt-Svc header
2019-10-14 05:17:25 +07:00
Marten Seemann
81056ebd0d Merge pull request #2167 from lucas-clemente/fix-put-nil-client-session-state
fix putting of a nil ClientSessionState into a qtls.ClientSessionCache
2019-10-14 04:18:05 +07:00
Marten Seemann
d8c000a97b Merge pull request #2169 from lucas-clemente/fix-flaky-http3-unit-test
fix flaky HTTP/3 client unit test
2019-10-14 04:17:08 +07:00
Julien Salleyron
3c08c885ae Handle new version format 2019-10-13 22:50:53 +02:00
Marten Seemann
772cf9facd fix flaky HTTP/3 client unit test 2019-10-13 06:14:49 -07:00
Marten Seemann
efe65b5491 fix putting of a nil ClientSessionState into a qtls.ClientSessionCache 2019-10-13 05:09:59 -07:00
Marten Seemann
413dd08bc6 Merge pull request #2164 from lucas-clemente/alpn-logging
improve error messages on ALPN mismatches
2019-10-13 06:52:30 +02:00
Julien Salleyron
ff89d42262 Fix alt-svc header 2019-10-12 19:07:16 +02:00
Marten Seemann
88d1c78dab improve error messages on ALPN mismatches 2019-10-11 15:02:11 +07:00
Marten Seemann
594b2748b2 Merge pull request #2157 from lucas-clemente/fix-flaky-http3-client-test
fix flaky HTTP/3 client unit test
2019-10-02 12:23:28 +07:00
Lucas Clemente
08ab7fb0df Make Go 1.13 requirement more explicit in README 2019-10-01 09:45:47 +02:00
Marten Seemann
35e3455a97 Merge pull request #2147 from lucas-clemente/deleting-sessions
refactor handling of closed session
2019-10-01 13:17:44 +07:00
Marten Seemann
393695d774 fix flaky HTTP/3 client unit test 2019-10-01 10:14:21 +07:00
Marten Seemann
3fff444db3 Merge pull request #2156 from chengxuncc/patch-1
add network to multiplexer index
2019-10-01 09:08:44 +07:00
chengxuncc
8388b8ea3a add network to multiplexer index
only use laddr for multiplexer index could conflict with other protocols that not UDP
2019-10-01 09:33:05 +08:00
Marten Seemann
03ab56330b Merge pull request #2145 from lucas-clemente/http3-no-server-bidi-streams
don't allow a HTTP/3 server to create bidirectional streams
2019-09-27 09:42:52 +07:00
Marten Seemann
ed9f2ad4d0 Merge pull request #2148 from lucas-clemente/fix-request-cancelation-leakage
fix leaking request cancelation go routine in case an error occurred
2019-09-27 05:18:08 +07:00
Marten Seemann
072136fd2d Merge pull request #2150 from lucas-clemente/fix-stateless-reset-token-race
fix race condition when generating stateless reset tokens
2019-09-27 05:01:34 +07:00
Marten Seemann
da0288b273 destroy sessions when deleting them from the packet handler map 2019-09-25 15:34:42 +07:00
Marten Seemann
03483d5e71 refactor how sessions are deleted
Replacing sessions with different structs representing a closed session
doesn't work if a session is using multiple connection IDs.
2019-09-25 15:34:38 +07:00
Marten Seemann
288c5af635 fix race condition when generating stateless reset tokens 2019-09-25 08:03:53 +07:00
Marten Seemann
cc90dfadaf fix leaking request cancelation go routine in case an error occurred 2019-09-25 07:21:28 +07:00
Marten Seemann
c41b2e3cdd don't allow the server to create bidirectional streams 2019-09-17 15:57:55 +07:00
Marten Seemann
9e6bff0b98 Merge pull request #2138 from lucas-clemente/linting
update GolangCI-Lint, add some more linters
2019-09-17 15:06:20 +07:00
Marten Seemann
6b22f36d82 add the stylecheck linter 2019-09-17 13:50:19 +07:00
Marten Seemann
ab2b26a5cb add the unparam linter 2019-09-17 13:44:05 +07:00
Marten Seemann
c8aed2861f add the scopelint linter 2019-09-17 13:44:05 +07:00
Marten Seemann
0131dc7fa9 add the prealloc linter 2019-09-17 13:44:05 +07:00
Marten Seemann
1350f499b5 update GolangCI-Lint to v1.18.0 2019-09-17 13:44:05 +07:00
Marten Seemann
07ee05b5a9 Merge pull request #2136 from lucas-clemente/empty-new-tokens
reject NEW_TOKEN frames with empty tokens
2019-09-17 08:06:47 +07:00
Marten Seemann
57a9ed3379 Merge pull request #2134 from lucas-clemente/draft-23-test-vectors
update the Initial salt to draft-23
2019-09-17 08:06:33 +07:00
Marten Seemann
5302d035ae Merge pull request #2139 from lucas-clemente/http3-connection-errors
HTTP/3 connection errors
2019-09-17 08:03:18 +07:00
Marten Seemann
4e0f40f6c1 Merge pull request #2137 from lucas-clemente/struct-alignment
improve memory alignment of frequently used structs
2019-09-17 08:02:58 +07:00
Marten Seemann
b6330461d6 rework stream / connection erros for the client 2019-09-14 10:26:56 +07:00
Marten Seemann
917cfc0d39 rework stream / connection erros for the server 2019-09-14 10:16:43 +07:00
Marten Seemann
807dd67927 improve memory alignment of frequently used structs 2019-09-13 13:37:41 +07:00
Marten Seemann
f15a82d3fd remove stray TODO in the ExtendedHeader 2019-09-13 13:10:13 +07:00
Marten Seemann
2ea8b70ffb reject NEW_TOKEN frames with empty tokens 2019-09-13 11:00:06 +07:00
Marten Seemann
1d6359543d update the Initial salt to draft-23 2019-09-12 10:06:36 +07:00
Marten Seemann
9839669f3b Merge pull request #2132 from lucas-clemente/update-fuzzit
update Fuzzit binary
2019-09-12 08:56:56 +07:00
Marten Seemann
669138ee60 update Fuzzit binary 2019-09-12 08:42:13 +07:00
Marten Seemann
fc962d1837 Merge pull request #2117 from lucas-clemente/send-pooled-stream-frames
use the STREAM frame buffer for receiving stream data
2019-09-08 10:23:46 +07:00
Marten Seemann
b083fd6f0e Merge pull request #2125 from lucas-clemente/chacha-header-protection
implement ChaCha20 header protection
2019-09-07 16:32:19 +07:00
Marten Seemann
4cb8bf3101 put STREAM frames back into the pool when they are acknowledged 2019-09-07 16:31:52 +07:00
Marten Seemann
4cfbb2f134 use STREAM frames from the buffer for sending data 2019-09-07 16:31:52 +07:00
Marten Seemann
039d7ae888 Merge pull request #2116 from lucas-clemente/stream-frame-pool
use a STREAM frame buffer for receiving stream data
2019-09-07 16:31:05 +07:00
Marten Seemann
3bb23836f2 Merge pull request #2105 from lucas-clemente/closed-sessions
refactor how packets arriving after a session is closed are handled
2019-09-07 16:27:40 +07:00
Marten Seemann
de3e1a3de5 log the cipher suite 2019-09-07 11:47:21 +07:00
Marten Seemann
fa89ec345a add support for ChaCha20 header protection 2019-09-07 11:36:50 +07:00