Commit Graph

5299 Commits

Author SHA1 Message Date
q191201771
de0a6d4bbe refactor merge packet number ranges 2021-02-24 11:54:33 +08:00
Marten Seemann
e3c1a67708 add draft-34 to support versions in README 2021-02-20 11:19:29 +08:00
Marten Seemann
ff2e7ba635 update README to reflect dropped Go 1.14 support 2021-02-20 09:26:49 +08:00
Marten Seemann
972a08c40d Merge pull request #3048 from q191201771/redundant-nil-check
remove redundant nil-check in the packet packer
2021-02-19 15:42:44 +08:00
q191201771
d16f36a1e3 the pointer is always not nil, no need to check it 2021-02-18 20:05:16 +08:00
Marten Seemann
bfad41165c Merge pull request #3046 from lucas-clemente/avoid-rand-source
avoid using rand.Source
2021-02-18 11:13:47 +08:00
Marten Seemann
03fe636711 reduce memory footprint of the connIDManager 2021-02-18 09:58:34 +08:00
Marten Seemann
115fc28bbe avoid initializing a math/rand.Rand in the connIDManager
math/rand.Source uses a lot of memory, as it keeps an array of 607
int64s as internal state.
2021-02-18 09:58:34 +08:00
Marten Seemann
3c0726e132 move the random number generator to the utils package 2021-02-18 09:58:34 +08:00
Marten Seemann
c72f05aa41 Merge pull request #3045 from lucas-clemente/go116
update Go to 1.16, drop support for 1.14
2021-02-18 09:58:06 +08:00
Marten Seemann
62a906de3c update Go to 1.16, drop support for 1.14 2021-02-17 12:17:46 +08:00
Marten Seemann
dd9f8e4a2b Merge pull request #3039 from lucas-clemente/fix-set-receive-buffer-error-message
fix error message when the UDP receive buffer size can't be increased
2021-02-16 08:47:04 +08:00
Marten Seemann
369442a170 fix error message when the UDP receive buffer size can't be increased 2021-02-15 10:13:40 +08:00
Marten Seemann
3389473008 Merge pull request #3038 from lucas-clemente/qlog-time-format
add the time_format field to qlog common_fields
2021-02-13 19:33:21 +08:00
Marten Seemann
fd724f8d16 Merge pull request #3036 from lucas-clemente/no-0x-in-conn-id
log connection IDs without the 0x prefix
2021-02-13 19:33:03 +08:00
Marten Seemann
b0fb2ea516 Merge pull request #3031 from lucas-clemente/quic-draft-34
add support for QUIC draft-34
2021-02-13 17:23:55 +08:00
Marten Seemann
7e59a091a4 add the time_format field to qlog common_fields 2021-02-13 12:56:44 +08:00
Marten Seemann
615540f8d5 use the correct HTTP/3 ALPN when using draft-34 2021-02-11 09:46:00 +08:00
Marten Seemann
9dba8141ba use the updated TLS extension code point for draft-34 2021-02-11 09:46:00 +08:00
Marten Seemann
f01a2c6b96 use the updated salt for draft-34 2021-02-11 09:46:00 +08:00
Marten Seemann
d5025b1373 add a version number for draft-34 2021-02-11 09:46:00 +08:00
Marten Seemann
6ece64d8a5 log connection IDs without the 0x prefix 2021-02-11 09:45:40 +08:00
Marten Seemann
0b97ae5632 Merge pull request #3037 from lucas-clemente/fix-mockgen-sed
fix qtls imports in mockgen generated mocks
2021-02-11 09:44:41 +08:00
Marten Seemann
b906364469 fix qtls imports in mockgen generated mocks 2021-02-11 09:26:25 +08:00
Marten Seemann
6533c6f6e5 Merge pull request #3030 from lucas-clemente/improve-set-receive-buffer-error-message
improve error message when the read buffer size can't be set
2021-02-09 20:28:22 +08:00
Marten Seemann
4e6e4db7ac Merge pull request #3033 from lucas-clemente/qlog-quic-go-version
qlog the quic-go version
2021-02-09 17:49:27 +08:00
Marten Seemann
261c9a7586 Merge pull request #3032 from lucas-clemente/remove-metrics
remove the metrics package
2021-02-09 17:49:06 +08:00
Marten Seemann
30f875b31b Merge pull request #3034 from lucas-clemente/expose-qlog-connection-tracer-constructor
expose the constructor for the qlog connection tracer
2021-02-09 17:45:26 +08:00
Marten Seemann
2a7e148a65 Merge pull request #3035 from lucas-clemente/expose-multiplexed-connection-tracer-constructor
expose the constructor for the multipexed connection tracer
2021-02-09 17:44:24 +08:00
Marten Seemann
0d38dce8cd expose the constructor for the multipexed connection tracer 2021-02-09 10:54:51 +08:00
Marten Seemann
ef1cea84c4 expose the constructor for the qlog connection tracer 2021-02-09 10:51:21 +08:00
Marten Seemann
0437acd41d set the qlogged quic-go version when building the interop runner image 2021-02-08 09:24:12 +08:00
Marten Seemann
218b204e1b qlog the quic-go version
This only works when quic-go is used as a library.
2021-02-07 19:26:12 +08:00
Marten Seemann
aa68b3015d remove the metrics package
Recording every sent and received packet in OpenCensus is quite expensive.
Arguably, the metrics needs depend on the application, so that's where the
implementation of a metrics collector should live anyway.
2021-02-05 16:38:39 +08:00
Marten Seemann
75ed1401d8 improve error message when the read buffer size can't be set 2021-02-05 11:32:18 +08:00
Marten Seemann
622ca23d4e Merge pull request #3027 from lucas-clemente/go116-rc1
update qtls and CI to Go 1.16rc1
2021-01-31 10:38:23 +08:00
Marten Seemann
c9ccf3f8a6 update qtls and CI to Go 1.16rc1 2021-01-29 13:19:36 +08:00
Marten Seemann
e5bb76c210 Merge pull request #3026 from lucas-clemente/fix-cross-compile-deps
temporarily disable 1.16 on CI, fix cross compile workflow
2021-01-29 13:18:37 +08:00
Marten Seemann
3894d16cc4 disable Go 1.16 on CI, fix cross compile workflow 2021-01-29 12:49:42 +08:00
Marten Seemann
7456e643b9 Merge pull request #3020 from lucas-clemente/fix-server-closing
make sure the server is stopped before closing all server sessions
2021-01-26 00:22:58 +08:00
Marten Seemann
aea8f7345b make sure the server is stopped before closing all server sessions 2021-01-25 15:28:42 +08:00
Marten Seemann
f1500db062 Merge pull request #3016 from lucas-clemente/increase-send-queue-capacity
increase the size of the send queue
2021-01-23 20:27:19 +08:00
Marten Seemann
b98882d748 Merge pull request #3015 from lucas-clemente/prioritize-receiving-packets
prioritize receiving packets over sending out more packets
2021-01-23 19:39:40 +08:00
Marten Seemann
a1fb80df1b Merge pull request #3017 from lucas-clemente/h3-reenable-key-updates
reenable key updates for HTTP/3
2021-01-23 19:35:58 +08:00
Marten Seemann
bf28ded0bc Merge pull request #3011 from lucas-clemente/fix-undecryptable-packet-error-handling
check for errors after handling each previously undecryptable packet
2021-01-23 19:35:36 +08:00
Marten Seemann
a65b9eedd0 Merge pull request #3013 from lucas-clemente/fix-flaky-streams-map-test
fix flaky streams map test on Windows
2021-01-23 19:35:00 +08:00
Marten Seemann
e1ab2b0cbb Merge pull request #3014 from lucas-clemente/fix-flaky-cancellation-test
fix flaky stream cancelation integration test
2021-01-23 19:34:17 +08:00
Marten Seemann
3cba36b16b Merge pull request #3018 from lucas-clemente/preallocate-payload-frames
preallocate a slice of one frame when packing a packet
2021-01-23 19:33:59 +08:00
Marten Seemann
e59ea9d5f5 preallocate a slice of one frame when packing a packet
The majority of packets will contain only one STREAM frame.  We should make
sure that we don't need to grow the slice in the common case.
2021-01-20 17:52:32 +08:00
Marten Seemann
e4dab7fb37 reenable key updates for HTTP/3
Chrome was recently updated to v88, which is able to handle key updates
correctly.
2021-01-20 14:51:42 +08:00