@fails-components/webtransport 0.0.1-rc.2 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CMakeLists.txt +5 -2
- package/package.json +1 -1
- package/platform/net/quiche/common/platform/impl/quiche_flags_impl.h +1 -54
- package/platform/quiche_platform_impl/quic_flags_impl.h +1 -27
- package/platform/quiche_platform_impl/quiche_flag_utils_impl.h +1 -16
- package/platform/quiche_platform_impl/quiche_flags_impl.h +6 -1
- package/src/http3client.cc +14 -2
- package/src/http3client.h +10 -15
- package/src/webtransport.js +4 -1
- package/third_party/boringssl/src/.clang-format +11 -0
- package/third_party/boringssl/src/crypto/CMakeLists.txt +0 -1
- package/third_party/boringssl/src/crypto/asn1/a_strex.c +61 -95
- package/third_party/boringssl/src/crypto/asn1/asn1_par.c +31 -9
- package/third_party/boringssl/src/crypto/asn1/tasn_dec.c +33 -19
- package/third_party/boringssl/src/crypto/cipher_extra/asm/chacha20_poly1305_armv8.pl +8 -8
- package/third_party/boringssl/src/crypto/cipher_extra/derive_key.c +4 -4
- package/third_party/boringssl/src/crypto/cipher_extra/e_des.c +1 -0
- package/third_party/boringssl/src/crypto/cipher_extra/e_null.c +1 -0
- package/third_party/boringssl/src/crypto/cipher_extra/e_rc2.c +1 -0
- package/third_party/boringssl/src/crypto/cipher_extra/e_rc4.c +2 -0
- package/third_party/boringssl/src/crypto/fipsmodule/bcm.c +1 -0
- package/third_party/boringssl/src/crypto/fipsmodule/bn/asm/x86_64-mont5.pl +0 -197
- package/third_party/boringssl/src/crypto/fipsmodule/bn/bn_test.cc +0 -9
- package/third_party/boringssl/src/crypto/fipsmodule/bn/bn_tests.txt +68 -0
- package/third_party/boringssl/src/crypto/fipsmodule/bn/exponentiation.c +45 -40
- package/third_party/boringssl/src/crypto/fipsmodule/bn/internal.h +11 -8
- package/third_party/boringssl/src/crypto/fipsmodule/bn/rsaz_exp.c +15 -106
- package/third_party/boringssl/src/crypto/fipsmodule/bn/rsaz_exp.h +5 -1
- package/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.c +12 -32
- package/third_party/boringssl/src/crypto/fipsmodule/cipher/internal.h +39 -0
- package/third_party/boringssl/src/crypto/{evp → fipsmodule/digestsign}/digestsign.c +7 -9
- package/third_party/boringssl/src/crypto/fipsmodule/ec/ec_key.c +1 -0
- package/third_party/boringssl/src/crypto/fipsmodule/ecdh/ecdh.c +2 -1
- package/third_party/boringssl/src/crypto/fipsmodule/ecdsa/ecdsa.c +1 -0
- package/third_party/boringssl/src/crypto/fipsmodule/hmac/hmac.c +1 -0
- package/third_party/boringssl/src/crypto/fipsmodule/service_indicator/service_indicator.c +1 -0
- package/third_party/boringssl/src/crypto/pkcs8/pkcs8_x509.c +4 -4
- package/third_party/boringssl/src/crypto/x509/algorithm.c +18 -1
- package/third_party/boringssl/src/crypto/x509/x_algor.c +1 -1
- package/third_party/boringssl/src/crypto/x509/x_crl.c +3 -3
- package/third_party/boringssl/src/crypto/x509/x_exten.c +1 -1
- package/third_party/boringssl/src/crypto/x509/x_name.c +1 -1
- package/third_party/boringssl/src/crypto/x509/x_pubkey.c +1 -1
- package/third_party/boringssl/src/crypto/x509/x_req.c +2 -2
- package/third_party/boringssl/src/crypto/x509/x_sig.c +1 -1
- package/third_party/boringssl/src/crypto/x509/x_spki.c +2 -2
- package/third_party/boringssl/src/crypto/x509/x_val.c +1 -1
- package/third_party/boringssl/src/crypto/x509/x_x509.c +2 -2
- package/third_party/boringssl/src/crypto/x509v3/v3_akey.c +1 -1
- package/third_party/boringssl/src/crypto/x509v3/v3_akeya.c +1 -1
- package/third_party/boringssl/src/crypto/x509v3/v3_bcons.c +2 -2
- package/third_party/boringssl/src/crypto/x509v3/v3_cpols.c +6 -6
- package/third_party/boringssl/src/crypto/x509v3/v3_crld.c +6 -6
- package/third_party/boringssl/src/crypto/x509v3/v3_enum.c +1 -1
- package/third_party/boringssl/src/crypto/x509v3/v3_extku.c +2 -2
- package/third_party/boringssl/src/crypto/x509v3/v3_genn.c +3 -3
- package/third_party/boringssl/src/crypto/x509v3/v3_info.c +3 -3
- package/third_party/boringssl/src/crypto/x509v3/v3_int.c +3 -3
- package/third_party/boringssl/src/crypto/x509v3/v3_ncons.c +2 -2
- package/third_party/boringssl/src/crypto/x509v3/v3_ocsp.c +2 -2
- package/third_party/boringssl/src/crypto/x509v3/v3_pcons.c +1 -1
- package/third_party/boringssl/src/crypto/x509v3/v3_pmaps.c +2 -2
- package/third_party/boringssl/src/crypto/x509v3/v3_skey.c +1 -1
- package/third_party/boringssl/src/decrepit/blowfish/blowfish.c +1 -0
- package/third_party/boringssl/src/decrepit/cast/cast.c +1 -0
- package/third_party/boringssl/src/decrepit/cfb/cfb.c +1 -0
- package/third_party/boringssl/src/decrepit/xts/xts.c +2 -1
- package/third_party/boringssl/src/fuzz/CMakeLists.txt +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip.cc +57 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/0461791e54b4840c109637952eab43d9b938cab8 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/06e57a7b98a403a00822739739924b97ae6c74e9 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/078c3c1199930781466871c8dda69bec379286a4 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/082a991742f652549e4b207100ee521f474e0a99 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/091e3389548686c5038d04e3d76b9c4d30502074 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/13e484c406efe97dc9d91f8b80a27b0e597c34da +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/153d254254345b61e20e7b37637dd6f6fd71ba01 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/163605136e22f5b5302fe60d1f17837bee6b6b2b +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/1a96ec99b487b93052cd860c447e6d126dcc36d4 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/1cc9ad96fcee279e8589b7071c7a0ccd111098f2 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/229b8e1825512868e0e11a199ed71231dd41bb4f +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/236d820eadf7f84d70de7bb8be5f1c57a4005de2 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/24fd9742dbdee3167509db4af245ad6f8c4c1e99 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/2896f8deb3c4e8bdfeab743b22c64c92316880f7 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/29b6252fe9c4d1186394b1664c421cca795b61a5 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/2b4955132275314d1d377f37f93d8c1879a3519a +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/2e7112ac524a7a663632397cbb41f7dfd22e92c6 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/396d197005432accf99bf0f483286e459eb24063 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/3c75fe79266cf639f2180722a3f03f8fc3e25685 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/3fbb104fb0eb6cae4af34d8a516998336b3a6778 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/422fa995b3fdfed572b68b292062c330d6d05272 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/428b48fc494cee828f0c27f77aef477cb2e1fd80 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/4bd69e424b6fa38f9e63e58b8d0e95ac2d38d598 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/4be7e1f134e1c55aeadeead515200f6f1e6254ba +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/4de268400e174db2dc306f45c833cf968a6c6546 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/52d2c7efcd7da0eb7463829e05a598e36729bfae +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/53cf415eb9de49fb5a0cb46e745e413a99aa0779 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/53ea84c48a5792281a46eb5a9c896d54ea3f1838 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/5ba93c9db0cff93f52b521d7420e43f6eda2784f +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/5bab61eb53176449e25c2c82f172b82cb13ffb9d +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/5e5361730362736fe3e2804d8566e3c91454509b +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/6654fedb1fc4b07095695b062b5af4c2f12d59ae +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/6cad8b2a41194372ec897bece6512fe8331e274d +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/6f40330ec07e8e22f113f982b297ff7f86b8e485 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/738f291e53e97c08dae378c71ef70a60e31ae900 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/7396791821e64fc9340249a4bcbd2198e9f237db +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/7653595e28f23e62ea6707c99ca08c780a69335f +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/77de68daecd823babbb58edb1c8e14d7106e83bb +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/7cb5c71603a787032973d6ddc9c2c34638005784 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/80a1e1ae75c1e5ef7bbde5f5877e3e5b26b3cf58 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/872ba8af52a8c1380c388bab0e20bec2e729db80 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/8855f2d904cf1bbaffc54e68d98890fdc9ec14cc +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/8a22f56ee86cc2d67e9610a6b0ed59f21008a341 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/935a69e9f3bfa1dd3bf058fa3e1b953e82195de6 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/951ccb49640c8f9e81fb4e0d82730321f4e15bb3 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/9af1f3ed10c7a54f6b57c344015141cc082db23b +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a0b7dd1684089c63a4aac2e4a832544df4d639d6 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a22d0d3565a509a4bfedce078090d8c6a908d950 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a22f1185582f66227118c8e9002a5c29728f0650 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a457945cb86ec812235f407ed70fe72fbaf694a1 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a4ee44c4e8728d4924642ef8765063262e8c4601 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a4fc609a6546fc0061f499f0faed9054fd388c9a +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a7c13e6fe60eee08b9aac00a095a9301ea1a9824 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a98e22a5a8c2f5dda365d55e76536931010e1560 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/aca6ed86348b1176bfbe4ebf32b2d48a0aa42f9f +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/aeefb82d7f5cc69168aade3b196a84d0f5c14bf2 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/b37e0f6fa42840c773747c4cb608c278ab65021d +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/b5d4e67f0ec5b1a90100d8ad424d77aea8e16353 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/b65ea16ba4dae8599ebbad7c4cb9fcd505edf485 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/b95311782071c4d9182c0effe32487fc5cdbd33d +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/bbcaf4d15f92bfc6d624eee967fade1a74329f30 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/bc26b8c794ac0adf948cbca02e88b3901824ef17 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/bc7b23c2c68e4ad33ecea493ff6e60d423371cd0 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/bd8daf3e78d8ba3a25838053b6993edc7a21c30e +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/c4d94647e646f02da1736b3179804ad6083acde9 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/c869b259f9f81bec8ed24a9bc2cef35a513fb9fc +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/ceee46f04a09ef5d3342ef25d9f483e861727575 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/d05c069216b54f35bc7e3ee08371baee243c089a +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/d18c30ba21e0d085dd983ad528f2c9001285d3d2 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/d2c00146b2f2bcb4c6cecb731d2062273523d8c8 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/d9bc7157a485958a5fce35ce777f551fe3f7d94c +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/defce76f0d3c3e057bb623986bacee7bbd07d1a1 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/df9b696736847e43672b7a99ca05655af8a81135 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/e5b420f71cf412bd9fdebdd46245fabd1f3462e5 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/e7979b0e6e3e9cd64ceab99778c55205d6f92a73 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/ee629f1935abc05fdc32ba314ec1f80f4bff2a17 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/f944dcd635f9801f7ac90a407fbc479964dec024 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/fadcde7d914246ca04bd56e68fd4045b1cf1c5ef +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/fd8be6506a9995f626eef831b9c981a80b0e3640 +0 -0
- package/third_party/boringssl/src/include/openssl/cipher.h +21 -48
- package/third_party/boringssl/src/include/openssl/ssl.h +38 -0
- package/third_party/boringssl/src/ssl/handshake_client.cc +8 -2
- package/third_party/boringssl/src/ssl/internal.h +16 -3
- package/third_party/boringssl/src/ssl/s3_both.cc +23 -1
- package/third_party/boringssl/src/ssl/ssl_lib.cc +94 -1
- package/third_party/boringssl/src/ssl/test/runner/runner.go +192 -0
- package/third_party/boringssl/src/ssl/test/test_config.cc +6 -0
- package/third_party/boringssl/src/ssl/test/test_config.h +1 -0
- package/third_party/boringssl/src/ssl/tls13_client.cc +7 -3
- package/third_party/boringssl/src/ssl/tls13_server.cc +2 -1
- package/third_party/boringssl/src/util/convert_comments.go +23 -0
- package/third_party/boringssl/src/util/fipstools/acvp/acvptool/acvp/acvp.go +1 -1
- package/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/modulewrapper.cc +32 -21
- package/third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc +1 -1
- package/third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.h +1 -1
- package/third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_logging_impl.h +3 -2
- package/third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_test_impl.cc +2 -2
- package/third_party/quiche/quiche/http2/adapter/http2_protocol.h +5 -1
- package/third_party/quiche/quiche/http2/adapter/http2_util.cc +2 -0
- package/third_party/quiche/quiche/http2/adapter/http2_visitor_interface.h +2 -0
- package/third_party/quiche/quiche/http2/adapter/nghttp2_adapter_test.cc +119 -0
- package/third_party/quiche/quiche/http2/adapter/oghttp2_adapter_test.cc +130 -0
- package/third_party/quiche/quiche/http2/adapter/oghttp2_session.cc +23 -12
- package/third_party/quiche/quiche/http2/decoder/decode_buffer_test.cc +6 -11
- package/third_party/quiche/quiche/quic/core/congestion_control/bbr2_sender.cc +0 -5
- package/third_party/quiche/quiche/quic/core/congestion_control/bbr2_sender.h +0 -2
- package/third_party/quiche/quiche/quic/core/congestion_control/bbr_sender.cc +0 -10
- package/third_party/quiche/quiche/quic/core/congestion_control/bbr_sender.h +0 -1
- package/third_party/quiche/quiche/quic/core/congestion_control/send_algorithm_interface.h +0 -6
- package/third_party/quiche/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc +0 -2
- package/third_party/quiche/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.h +0 -1
- package/third_party/quiche/quiche/quic/core/crypto/transport_parameters_test.cc +1 -3
- package/third_party/quiche/quiche/quic/core/http/end_to_end_test.cc +19 -9
- package/third_party/quiche/quiche/quic/core/http/http_decoder_test.cc +6 -3
- package/third_party/quiche/quiche/quic/core/http/quic_server_session_base.cc +4 -16
- package/third_party/quiche/quiche/quic/core/http/quic_spdy_session.h +6 -6
- package/third_party/quiche/quiche/quic/core/http/quic_spdy_session_test.cc +25 -15
- package/third_party/quiche/quiche/quic/core/http/quic_spdy_stream_test.cc +6 -5
- package/third_party/quiche/quiche/quic/core/http/web_transport_http3.cc +1 -2
- package/third_party/quiche/quiche/quic/core/quic_bandwidth_test.cc +12 -12
- package/third_party/quiche/quiche/quic/core/quic_connection.cc +5 -95
- package/third_party/quiche/quiche/quic/core/quic_connection.h +0 -35
- package/third_party/quiche/quiche/quic/core/quic_connection_test.cc +80 -196
- package/third_party/quiche/quiche/quic/core/quic_control_frame_manager.cc +1 -1
- package/third_party/quiche/quiche/quic/core/quic_crypto_stream.cc +29 -5
- package/third_party/quiche/quiche/quic/core/quic_crypto_stream_test.cc +46 -0
- package/third_party/quiche/quiche/quic/core/quic_dispatcher_test.cc +17 -14
- package/third_party/quiche/quiche/quic/core/quic_flags_list.h +54 -54
- package/third_party/quiche/quiche/quic/core/quic_flow_controller_test.cc +8 -5
- package/third_party/quiche/quiche/quic/core/quic_framer_test.cc +8 -5
- package/third_party/quiche/quiche/quic/core/quic_idle_network_detector.cc +1 -0
- package/third_party/quiche/quiche/quic/core/quic_idle_network_detector_test.cc +29 -0
- package/third_party/quiche/quiche/quic/core/quic_packet_creator.cc +1 -5
- package/third_party/quiche/quiche/quic/core/quic_packet_creator_test.cc +18 -11
- package/third_party/quiche/quiche/quic/core/quic_sent_packet_manager.cc +9 -28
- package/third_party/quiche/quiche/quic/core/quic_sent_packet_manager.h +0 -13
- package/third_party/quiche/quiche/quic/core/quic_sent_packet_manager_test.cc +1 -49
- package/third_party/quiche/quiche/quic/core/quic_session.cc +0 -8
- package/third_party/quiche/quiche/quic/core/quic_session.h +0 -1
- package/third_party/quiche/quiche/quic/core/quic_stream.cc +1 -1
- package/third_party/quiche/quiche/quic/core/quic_stream_sequencer.cc +5 -0
- package/third_party/quiche/quiche/quic/core/quic_stream_sequencer.h +4 -0
- package/third_party/quiche/quiche/quic/core/quic_stream_sequencer_test.cc +12 -5
- package/third_party/quiche/quiche/quic/core/quic_stream_test.cc +27 -12
- package/third_party/quiche/quiche/quic/core/quic_types.cc +0 -1
- package/third_party/quiche/quiche/quic/core/quic_types.h +0 -3
- package/third_party/quiche/quiche/quic/core/quic_utils.cc +0 -3
- package/third_party/quiche/quiche/quic/core/quic_utils_test.cc +0 -2
- package/third_party/quiche/quiche/quic/core/tls_client_handshaker_test.cc +16 -12
- package/third_party/quiche/quiche/quic/core/tls_handshaker.cc +18 -3
- package/third_party/quiche/quiche/quic/qbone/platform/internet_checksum.cc +7 -2
- package/third_party/quiche/quiche/quic/test_tools/crypto_test_utils.cc +20 -12
- package/third_party/quiche/quiche/quic/test_tools/crypto_test_utils.h +10 -5
- package/third_party/quiche/quiche/quic/test_tools/quic_test_utils.h +0 -2
- package/third_party/quiche/quiche/quic/test_tools/simulator/quic_endpoint.cc +0 -8
- package/third_party/quiche/quiche/quic/test_tools/simulator/quic_endpoint.h +0 -1
- package/third_party/quiche/quiche/quic/tools/quic_simple_server_stream_test.cc +2 -1
- package/platform/net/quiche/common/platform/impl/quic_flags_list_add.h +0 -379
- package/platform/net/quiche/common/platform/impl/quiche_flags_impl.cc +0 -21
- package/third_party/boringssl/src/crypto/asn1/charmap.h +0 -15
- package/third_party/boringssl/src/crypto/asn1/charmap.pl +0 -135
|
@@ -1,379 +0,0 @@
|
|
|
1
|
-
// flags forgotten in quiche but present in older chromium ? Copied from various chromium version from the internet
|
|
2
|
-
|
|
3
|
-
#ifdef QUIC_FLAGT
|
|
4
|
-
|
|
5
|
-
// many defaults taken from https://github.com/washezium/washezium
|
|
6
|
-
// Copyright 2014 The Chromium Authors. All rights reserved.
|
|
7
|
-
// Use of this source code is governed by a BSD-style license that can be
|
|
8
|
-
// found in the LICENSE file.
|
|
9
|
-
// This file intentionally does not have header guards, it's included
|
|
10
|
-
// inside a macro to generate values. The following line silences a
|
|
11
|
-
// presubmit warning that would otherwise be triggered by this:
|
|
12
|
-
// no-include-guard-because-multiply-included
|
|
13
|
-
// NOLINT(build/header_guard)
|
|
14
|
-
// This file contains the list of QUIC protocol flags.
|
|
15
|
-
// Time period for which a given connection_id should live in the time-wait
|
|
16
|
-
// state.
|
|
17
|
-
QUIC_FLAGT(int64_t, FLAGS_quic_time_wait_list_seconds, 200)
|
|
18
|
-
// Currently, this number is quite conservative. The max QPS limit for an
|
|
19
|
-
// individual server silo is currently set to 1000 qps, though the actual max
|
|
20
|
-
// that we see in the wild is closer to 450 qps. Regardless, this means that
|
|
21
|
-
// the longest time-wait list we should see is 200 seconds * 1000 qps, 200000.
|
|
22
|
-
// Of course, there are usually many queries per QUIC connection, so we allow a
|
|
23
|
-
// factor of 3 leeway.
|
|
24
|
-
//
|
|
25
|
-
// Maximum number of connections on the time-wait list. A negative value implies
|
|
26
|
-
// no configured limit.
|
|
27
|
-
QUIC_FLAGT(int64_t, FLAGS_quic_time_wait_list_max_connections, 600000)
|
|
28
|
-
// Enables server-side support for QUIC stateless rejects.
|
|
29
|
-
QUIC_FLAGT(bool,
|
|
30
|
-
FLAGS_quic_reloadable_flag_enable_quic_stateless_reject_support,
|
|
31
|
-
true)
|
|
32
|
-
// If true, require handshake confirmation for QUIC connections, functionally
|
|
33
|
-
// disabling 0-rtt handshakes.
|
|
34
|
-
// TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed.
|
|
35
|
-
/*QUIC_FLAGT(bool,
|
|
36
|
-
FLAGS_quic_reloadable_flag_quic_require_handshake_confirmation,
|
|
37
|
-
false)*/
|
|
38
|
-
// If true, disable pacing in QUIC.
|
|
39
|
-
QUIC_FLAGT(bool, FLAGS_quic_disable_pacing_for_perf_tests, false)
|
|
40
|
-
// If true, enforce that QUIC CHLOs fit in one packet.
|
|
41
|
-
QUIC_FLAGT(bool, FLAGS_quic_enforce_single_packet_chlo, true)
|
|
42
|
-
// If true, QUIC will use cheap stateless rejects without creating a full
|
|
43
|
-
// connection.
|
|
44
|
-
QUIC_FLAGT(bool,
|
|
45
|
-
FLAGS_quic_reloadable_flag_quic_use_cheap_stateless_rejects,
|
|
46
|
-
true)
|
|
47
|
-
// If true, allows packets to be buffered in anticipation of a future CHLO, and
|
|
48
|
-
// allow CHLO packets to be buffered until next iteration of the event loop.
|
|
49
|
-
QUIC_FLAGT(bool, FLAGS_quic_allow_chlo_buffering, true)
|
|
50
|
-
// If greater than zero, mean RTT variation is multiplied by the specified
|
|
51
|
-
// factor and added to the congestion window limit.
|
|
52
|
-
QUIC_FLAGT(double, FLAGS_quic_bbr_rtt_variation_weight, 0.0f)
|
|
53
|
-
// Congestion window gain for QUIC BBR during PROBE_BW phase.
|
|
54
|
-
QUIC_FLAGT(double, FLAGS_quic_bbr_cwnd_gain, 2.0f)
|
|
55
|
-
// Simplify QUIC\'s adaptive time loss detection to measure the necessary
|
|
56
|
-
// reordering window for every spurious retransmit.
|
|
57
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_fix_adaptive_time_loss, false)
|
|
58
|
-
// If true, adjust congestion window when doing bandwidth resumption in BBR.
|
|
59
|
-
QUIC_FLAGT(bool,
|
|
60
|
-
FLAGS_quic_reloadable_flag_quic_fix_bbr_cwnd_in_bandwidth_resumption,
|
|
61
|
-
false)
|
|
62
|
-
// When true, defaults to BBR congestion control instead of Cubic.
|
|
63
|
-
// QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_default_to_bbr, false)
|
|
64
|
-
// If buffered data in QUIC stream is less than this threshold, buffers all
|
|
65
|
-
// provided data or asks upper layer for more data.
|
|
66
|
-
QUIC_FLAGT(uint32_t, FLAGS_quic_buffered_data_threshold, 8192u)
|
|
67
|
-
// Max size of data slice in bytes for QUIC stream send buffer.
|
|
68
|
-
QUIC_FLAGT(uint32_t, FLAGS_quic_send_buffer_max_data_slice_size, 4096u)
|
|
69
|
-
// If true, QUIC supports both QUIC Crypto and TLS 1.3 for the handshake
|
|
70
|
-
// protocol.
|
|
71
|
-
QUIC_FLAGT(bool, FLAGS_quic_supports_tls_handshake, false)
|
|
72
|
-
// Allow QUIC to accept initial packet numbers that are random, not 1.
|
|
73
|
-
QUIC_FLAGT(bool, FLAGS_quic_restart_flag_quic_enable_accept_random_ipn, true)
|
|
74
|
-
// If true, enable QUIC v43.
|
|
75
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_enable_version_43, true)
|
|
76
|
-
// Enables 3 new connection options to make PROBE_RTT more aggressive
|
|
77
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_bbr_less_probe_rtt, false)
|
|
78
|
-
// If true, enable QUIC v99.
|
|
79
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_enable_version_99, false)
|
|
80
|
-
// When true, set the initial congestion control window from connection options
|
|
81
|
-
// in QuicSentPacketManager rather than TcpCubicSenderBytes.
|
|
82
|
-
// QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_unified_iw_options, false)
|
|
83
|
-
// Number of packets that the pacing sender allows in bursts during pacing.
|
|
84
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_lumpy_pacing_size, 1)
|
|
85
|
-
// Congestion window fraction that the pacing sender allows in bursts during
|
|
86
|
-
// pacing.
|
|
87
|
-
QUIC_FLAGT(double, FLAGS_quic_lumpy_pacing_cwnd_fraction, 0.25f)
|
|
88
|
-
// If true, static streams in a QuicSession will be stored inside dynamic
|
|
89
|
-
// stream map. static_stream_map will no longer be used.
|
|
90
|
-
QUIC_FLAGT(bool,
|
|
91
|
-
FLAGS_quic_reloadable_flag_quic_eliminate_static_stream_map,
|
|
92
|
-
false)
|
|
93
|
-
// Default enables QUIC ack decimation and adds a connection option to disable
|
|
94
|
-
// it.
|
|
95
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_enable_ack_decimation, false)
|
|
96
|
-
// If true, QUIC offload pacing when using USPS as egress method.
|
|
97
|
-
// QUIC_FLAGT(bool, FLAGS_quic_restart_flag_quic_offload_pacing_to_usps2, false)
|
|
98
|
-
// Max time that QUIC can pace packets into the future in ms.
|
|
99
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_max_pace_time_into_future_ms, 10)
|
|
100
|
-
// Smoothed RTT fraction that a connection can pace packets into the future.
|
|
101
|
-
QUIC_FLAGT(double, FLAGS_quic_pace_time_into_future_srtt_fraction, 0.125f)
|
|
102
|
-
// Mechanism to override version label and ALPN for IETF interop.
|
|
103
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_ietf_draft_version, 0)
|
|
104
|
-
// If true, enable QUIC v44.
|
|
105
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_enable_version_44, true)
|
|
106
|
-
// Stop checking QuicUnackedPacketMap::HasUnackedRetransmittableFrames and
|
|
107
|
-
// instead rely on the existing check that bytes_in_flight > 0
|
|
108
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_optimize_inflight_check, false)
|
|
109
|
-
// When you\'re app-limited entering recovery, stay app-limited until you exit
|
|
110
|
-
// recovery in QUIC BBR.
|
|
111
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_bbr_app_limited_recovery, false)
|
|
112
|
-
// If true, stop resetting ideal_next_packet_send_stime_ in pacing sender.
|
|
113
|
-
/* QUIC_FLAGT(
|
|
114
|
-
bool,
|
|
115
|
-
FLAGS_quic_reloadable_flag_quic_donot_reset_ideal_next_packet_send_time,
|
|
116
|
-
false)*/
|
|
117
|
-
// If true, enable experiment for testing PCC congestion-control.
|
|
118
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_enable_pcc3, false)
|
|
119
|
-
// When true, ensure BBR allows at least one MSS to be sent in response to an
|
|
120
|
-
// ACK in packet conservation.
|
|
121
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_bbr_one_mss_conservation, false)
|
|
122
|
-
// Add 3 connection options to decrease the pacing and CWND gain in QUIC BBR
|
|
123
|
-
// STARTUP.
|
|
124
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_bbr_slower_startup3, false)
|
|
125
|
-
// When true, the LOSS connection option allows for 1/8 RTT of reording instead
|
|
126
|
-
// of the current 1/8th threshold which has been found to be too large for fast
|
|
127
|
-
// loss recovery.
|
|
128
|
-
QUIC_FLAGT(bool,
|
|
129
|
-
FLAGS_quic_reloadable_flag_quic_eighth_rtt_loss_detection,
|
|
130
|
-
false)
|
|
131
|
-
// Enables the BBQ5 connection option, which forces saved aggregation values to
|
|
132
|
-
// expire when the bandwidth increases more than 25% in QUIC BBR STARTUP.
|
|
133
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_bbr_slower_startup4, false)
|
|
134
|
-
// When true and the BBR9 connection option is present, BBR only considers
|
|
135
|
-
// bandwidth samples app-limited if they're not filling the pipe.
|
|
136
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_bbr_flexible_app_limited, false)
|
|
137
|
-
// If true, calling StopReading() on a level-triggered QUIC stream sequencer
|
|
138
|
-
// will cause the sequencer to discard future data.
|
|
139
|
-
QUIC_FLAGT(bool,
|
|
140
|
-
FLAGS_quic_reloadable_flag_quic_stop_reading_when_level_triggered,
|
|
141
|
-
false)
|
|
142
|
-
// If true, QuicSession::HasPendingCryptoData checks whether the crypto stream's
|
|
143
|
-
// send buffer is empty. This flag fixes a bug where the retransmission alarm
|
|
144
|
-
// mode is wrong for the first CHLO packet.
|
|
145
|
-
QUIC_FLAGT(bool,
|
|
146
|
-
FLAGS_quic_reloadable_flag_quic_fix_has_pending_crypto_data,
|
|
147
|
-
true)
|
|
148
|
-
// When true, fix initialization and updating of
|
|
149
|
-
// |time_of_first_packet_sent_after_receiving_| in QuicConnection.
|
|
150
|
-
QUIC_FLAGT(
|
|
151
|
-
bool,
|
|
152
|
-
FLAGS_quic_reloadable_flag_quic_fix_time_of_first_packet_sent_after_receiving,
|
|
153
|
-
true)
|
|
154
|
-
// When the STMP connection option is sent by the client, timestamps in the QUIC
|
|
155
|
-
// ACK frame are sent and processed.
|
|
156
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_send_timestamps, false)
|
|
157
|
-
// If true, dispatcher passes in a single version when creating a server
|
|
158
|
-
// connection, such that version negotiation is not supported in connection.
|
|
159
|
-
QUIC_FLAGT(bool,
|
|
160
|
-
FLAGS_quic_restart_flag_quic_no_server_conn_ver_negotiation2,
|
|
161
|
-
false)
|
|
162
|
-
// If true, enable QUIC version 46.
|
|
163
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_enable_version_46, true)
|
|
164
|
-
// When in STARTUP and recovery, do not add bytes_acked to QUIC BBR's CWND in
|
|
165
|
-
// CalculateCongestionWindow()
|
|
166
|
-
QUIC_FLAGT(
|
|
167
|
-
bool,
|
|
168
|
-
FLAGS_quic_reloadable_flag_quic_bbr_no_bytes_acked_in_startup_recovery,
|
|
169
|
-
false)
|
|
170
|
-
// If true, use common code for checking whether a new stream ID may be
|
|
171
|
-
// allocated.
|
|
172
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_use_common_stream_check, false)
|
|
173
|
-
// When true, remove packets from inflight where they're declared lost,
|
|
174
|
-
// rather than in MarkForRetransmission. Also no longer marks handshake
|
|
175
|
-
// packets as no longer inflight when they're retransmitted.
|
|
176
|
-
QUIC_FLAGT(bool,
|
|
177
|
-
FLAGS_quic_reloadable_flag_quic_loss_removes_from_inflight,
|
|
178
|
-
false)
|
|
179
|
-
// If true, QuicEpollClock::Now() will monotonically increase.
|
|
180
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_monotonic_epoll_clock, false)
|
|
181
|
-
// If true, a client connection would be closed when a version negotiation
|
|
182
|
-
// packet is received. It would be the higher layer's responsibility to do the
|
|
183
|
-
// reconnection.
|
|
184
|
-
QUIC_FLAGT(bool,
|
|
185
|
-
FLAGS_quic_reloadable_flag_quic_no_client_conn_ver_negotiation,
|
|
186
|
-
false)
|
|
187
|
-
// If true, public reset packets sent from GFE will include a kEPID tag.
|
|
188
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_fix_spurious_ack_alarm, false)
|
|
189
|
-
// If true, enables the BBS4 and BBS5 connection options, which reduce BBR's
|
|
190
|
-
// pacing rate in STARTUP as more losses occur as a fraction of CWND.
|
|
191
|
-
QUIC_FLAGT(bool,
|
|
192
|
-
FLAGS_quic_reloadable_flag_quic_bbr_startup_rate_reduction,
|
|
193
|
-
false)
|
|
194
|
-
// If true, QuicPacketCreator::SetTransmissionType will set the transmission
|
|
195
|
-
// type of the next successfully added frame.
|
|
196
|
-
QUIC_FLAGT(bool,
|
|
197
|
-
FLAGS_quic_reloadable_flag_quic_set_transmission_type_for_next_frame,
|
|
198
|
-
true)
|
|
199
|
-
// If true, log leaf cert subject name into warning log.
|
|
200
|
-
QUIC_FLAGT(bool,
|
|
201
|
-
FLAGS_quic_reloadable_flag_quic_log_cert_name_for_empty_sct,
|
|
202
|
-
true)
|
|
203
|
-
// If true, enable QUIC version 47 which adds CRYPTO frames.
|
|
204
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_enable_version_47, false)
|
|
205
|
-
// If true, disable QUIC version 39.
|
|
206
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_disable_version_39, false)
|
|
207
|
-
// If true, use one loss algorithm per encryption level.
|
|
208
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_use_uber_loss_algorithm, true)
|
|
209
|
-
// When true, QuicFramer will use AppendIetfConnectionIdsNew instead of
|
|
210
|
-
// AppendIetfConnectionId.
|
|
211
|
-
QUIC_FLAGT(bool,
|
|
212
|
-
FLAGS_quic_reloadable_flag_quic_use_new_append_connection_id,
|
|
213
|
-
true)
|
|
214
|
-
// If true, QuicStreamSequencerBuffer will switch to a new
|
|
215
|
-
// QuicIntervalSet::AddOptimizedForAppend method in OnStreamData().
|
|
216
|
-
QUIC_FLAGT(
|
|
217
|
-
bool,
|
|
218
|
-
FLAGS_quic_reloadable_flag_quic_faster_interval_add_in_sequence_buffer,
|
|
219
|
-
true)
|
|
220
|
-
// If true, GFE time wait list will send termination packets based on current
|
|
221
|
-
// packet's encryption level.
|
|
222
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_fix_termination_packets, true)
|
|
223
|
-
// If true, stop using AckBundling mode to send ACK, also deprecate ack_queued
|
|
224
|
-
// from QuicConnection.
|
|
225
|
-
QUIC_FLAGT(bool,
|
|
226
|
-
FLAGS_quic_reloadable_flag_quic_deprecate_ack_bundling_mode,
|
|
227
|
-
true)
|
|
228
|
-
// If both this flag and gfe2_reloadable_flag_quic_deprecate_ack_bundling_mode
|
|
229
|
-
// are true, QuicReceivedPacketManager decides when to send ACKs.
|
|
230
|
-
QUIC_FLAGT(bool,
|
|
231
|
-
FLAGS_quic_reloadable_flag_quic_rpm_decides_when_to_send_acks,
|
|
232
|
-
true)
|
|
233
|
-
// In QUIC, do not close connection if received an in-order ACK with decreased
|
|
234
|
-
// largest_acked.
|
|
235
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_tolerate_reneging, true)
|
|
236
|
-
QUIC_FLAGT(
|
|
237
|
-
bool,
|
|
238
|
-
FLAGS_quic_reloadable_flag_quic_validate_packet_number_post_decryption,
|
|
239
|
-
true)
|
|
240
|
-
// If this flag and quic_rpm_decides_when_to_send_acks is true, use uber
|
|
241
|
-
// received packet manager instead of the single received packet manager.
|
|
242
|
-
QUIC_FLAGT(bool,
|
|
243
|
-
FLAGS_quic_reloadable_flag_quic_use_uber_received_packet_manager,
|
|
244
|
-
true)
|
|
245
|
-
// If true and using Leto for QUIC shared-key calculations, GFE will react to a
|
|
246
|
-
// failure to contact Leto by sending a REJ containing a fallback ServerConfig,
|
|
247
|
-
// allowing the client to continue the handshake.
|
|
248
|
-
QUIC_FLAGT(
|
|
249
|
-
bool,
|
|
250
|
-
FLAGS_quic_reloadable_flag_send_quic_fallback_server_config_on_leto_error,
|
|
251
|
-
false)
|
|
252
|
-
// If true, GFE will not request private keys when fetching QUIC ServerConfigs
|
|
253
|
-
// from Leto.
|
|
254
|
-
QUIC_FLAGT(bool,
|
|
255
|
-
FLAGS_quic_restart_flag_dont_fetch_quic_private_keys_from_leto,
|
|
256
|
-
false)
|
|
257
|
-
// If true, disable lumpy pacing for low bandwidth flows.
|
|
258
|
-
QUIC_FLAGT(bool,
|
|
259
|
-
FLAGS_quic_reloadable_flag_quic_no_lumpy_pacing_at_low_bw,
|
|
260
|
-
false)
|
|
261
|
-
// If true, in BbrSender, always get a bandwidth sample when a packet is acked,
|
|
262
|
-
// even if packet.bytes_acked is zero.
|
|
263
|
-
QUIC_FLAGT(bool,
|
|
264
|
-
FLAGS_quic_reloadable_flag_quic_always_get_bw_sample_when_acked,
|
|
265
|
-
true)
|
|
266
|
-
// If true, ignore TLPR for retransmission delay when sending pings from ping
|
|
267
|
-
// alarm.
|
|
268
|
-
QUIC_FLAGT(bool,
|
|
269
|
-
FLAGS_quic_reloadable_flag_quic_ignore_tlpr_if_sending_ping,
|
|
270
|
-
true)
|
|
271
|
-
// If true, non-ASCII QUIC tags are printed as hex instead of integers."
|
|
272
|
-
QUIC_FLAGT(bool, FLAGS_quic_reloadable_flag_quic_print_tag_hex, false)
|
|
273
|
-
// If true, terminate Google QUIC connections similary as IETF QUIC.
|
|
274
|
-
QUIC_FLAGT(bool,
|
|
275
|
-
FLAGS_quic_reloadable_flag_quic_terminate_gquic_connection_as_ietf,
|
|
276
|
-
false)
|
|
277
|
-
|
|
278
|
-
// Maximum number of tracked packets.
|
|
279
|
-
QUIC_FLAGT(int64_t, FLAGS_quic_max_tracked_packet_count, 10000)
|
|
280
|
-
|
|
281
|
-
// If the bandwidth during ack aggregation is smaller than (estimated
|
|
282
|
-
// bandwidth * this flag), consider the current aggregation completed
|
|
283
|
-
// and starts a new one.
|
|
284
|
-
QUIC_FLAGT(double, FLAGS_quic_ack_aggregation_bandwidth_threshold, 1.0)
|
|
285
|
-
|
|
286
|
-
// The maximum congestion window in packets.
|
|
287
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_max_congestion_window, 2000)
|
|
288
|
-
|
|
289
|
-
// The default minimum duration for BBRv2-native probes, in milliseconds.
|
|
290
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_bbr2_default_probe_bw_base_duration_ms, 2000)
|
|
291
|
-
|
|
292
|
-
// The default upper bound of the random amount of BBRv2-native
|
|
293
|
-
// probes, in milliseconds.
|
|
294
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_bbr2_default_probe_bw_max_rand_duration_ms, 1000)
|
|
295
|
-
|
|
296
|
-
// The default period for entering PROBE_RTT, in milliseconds.
|
|
297
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_bbr2_default_probe_rtt_period_ms, 10000)
|
|
298
|
-
|
|
299
|
-
// The default loss threshold for QUIC BBRv2, should be a value
|
|
300
|
-
// between 0 and 1.
|
|
301
|
-
QUIC_FLAGT(double, FLAGS_quic_bbr2_default_loss_threshold, 0.02)
|
|
302
|
-
|
|
303
|
-
// The default minimum number of loss marking events to exit STARTUP.
|
|
304
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_bbr2_default_startup_full_loss_count, 8)
|
|
305
|
-
|
|
306
|
-
// The default fraction of unutilized headroom to try to leave in path
|
|
307
|
-
// upon high loss.
|
|
308
|
-
QUIC_FLAGT(double, FLAGS_quic_bbr2_default_inflight_hi_headroom, 0.01)
|
|
309
|
-
|
|
310
|
-
// The default initial value of the max ack height filter's window length.
|
|
311
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_bbr2_default_initial_ack_height_filter_window, 10)
|
|
312
|
-
|
|
313
|
-
// The default minimum number of loss marking events to exit PROBE_UP phase.
|
|
314
|
-
QUIC_FLAGT(double, FLAGS_quic_bbr2_default_probe_bw_full_loss_count, 2)
|
|
315
|
-
|
|
316
|
-
// Below 1.2Mbps, send 1 packet at once, because one full-sized packet
|
|
317
|
-
// is about 10ms of queueing.
|
|
318
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_lumpy_pacing_min_bandwidth_kbps, 1200)
|
|
319
|
-
|
|
320
|
-
// from quic stream factory defaults seems to be false
|
|
321
|
-
QUIC_FLAGT(bool,FLAGS_quic_disable_client_tls_zero_rtt, false)
|
|
322
|
-
|
|
323
|
-
// If true, use predictable grease settings identifiers and values.
|
|
324
|
-
QUIC_FLAGT(bool, FLAGS_quic_enable_http3_grease_randomness, true)
|
|
325
|
-
|
|
326
|
-
// Anti-amplification factor. Before address validation, server will
|
|
327
|
-
// send no more than factor times bytes received.
|
|
328
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_anti_amplification_factor, 3)
|
|
329
|
-
|
|
330
|
-
// no idea if default is correct?
|
|
331
|
-
QUIC_FLAGT(bool,FLAGS_quic_disable_server_tls_resumption, false)
|
|
332
|
-
|
|
333
|
-
// no idea if default is correct?
|
|
334
|
-
QUIC_FLAGT(bool,FLAGS_quic_header_size_limit_includes_overhead, false)
|
|
335
|
-
|
|
336
|
-
// no idea if default is correct?
|
|
337
|
-
QUIC_FLAGT(bool,FLAGS_quic_use_lower_server_response_mtu_for_test, false)
|
|
338
|
-
|
|
339
|
-
// no idea if default is correct?
|
|
340
|
-
QUIC_FLAGT(bool,FLAGS_quic_key_update_confidentiality_limit, false)
|
|
341
|
-
|
|
342
|
-
// no idea if default is correct?
|
|
343
|
-
QUIC_FLAGT(int32_t,FLAGS_quic_max_retransmittable_on_wire_ping_count, 20)
|
|
344
|
-
|
|
345
|
-
// The maximum amount of CRYPTO frame data that can be buffered.
|
|
346
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_max_buffered_crypto_bytes, 16 * 1024)
|
|
347
|
-
|
|
348
|
-
// If set to non-zero, the maximum number of consecutive pings that can be sent
|
|
349
|
-
// with aggressive initial retransmittable on wire timeout if there is no new
|
|
350
|
-
// data received. After which, the timeout will be exponentially back off until
|
|
351
|
-
// exceeds the default ping timeout.
|
|
352
|
-
QUIC_FLAGT(int32_t,
|
|
353
|
-
FLAGS_quic_max_aggressive_retransmittable_on_wire_ping_count,
|
|
354
|
-
0)
|
|
355
|
-
|
|
356
|
-
// If true, use predictable version negotiation versions.
|
|
357
|
-
QUIC_FLAGT(bool, FLAGS_quic_disable_version_negotiation_grease_randomness, false)
|
|
358
|
-
|
|
359
|
-
// no idea if default is correct?
|
|
360
|
-
QUIC_FLAGT(bool,FLAGS_quic_enable_chaos_protection, false)
|
|
361
|
-
// no idea if default is correct?
|
|
362
|
-
QUIC_FLAGT(bool, FLAGS_quic_export_write_path_stats_at_server, false)
|
|
363
|
-
|
|
364
|
-
// no idea if default is correct?
|
|
365
|
-
QUIC_FLAGT(bool, FLAGS_quic_reject_retry_token_in_initial_packet, false)
|
|
366
|
-
|
|
367
|
-
// The divisor that controls how often MAX_STREAMS frames are sent.
|
|
368
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_max_streams_window_divisor, 2)
|
|
369
|
-
|
|
370
|
-
// no idea what would be the correct value
|
|
371
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_max_recent_stateless_reset_addresses, 10)
|
|
372
|
-
|
|
373
|
-
// no idea what would be the correct value
|
|
374
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_recent_stateless_reset_addresses_lifetime_ms, 10 * 1000)
|
|
375
|
-
|
|
376
|
-
// no idea, but google says 1K
|
|
377
|
-
QUIC_FLAGT(int32_t, FLAGS_quic_time_wait_list_max_pending_packets, 1000)
|
|
378
|
-
|
|
379
|
-
#endif
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
//taken from chromiuns platform impl
|
|
2
|
-
|
|
3
|
-
// Copyright 2020 The Chromium Authors. All rights reserved.
|
|
4
|
-
// Use of this source code is governed by a BSD-style license that can be
|
|
5
|
-
// found in the LICENSE file.
|
|
6
|
-
|
|
7
|
-
#include "net/quiche/common/platform/impl/quiche_flags_impl.h"
|
|
8
|
-
|
|
9
|
-
#define QUIC_FLAG(flag, value) bool flag = value;
|
|
10
|
-
#define QUIC_FLAGT(type, flag, value) type flag = value;
|
|
11
|
-
#include "third_party/quiche/quiche/quic/core/quic_flags_list.h"
|
|
12
|
-
#include "net/quiche/common/platform/impl/quic_flags_list_add.h"
|
|
13
|
-
#undef QUIC_FLAG
|
|
14
|
-
#undef QUIC_FLAGT
|
|
15
|
-
// fix annoying compiler buf
|
|
16
|
-
|
|
17
|
-
#include "quiche/http2/decoder/decode_buffer.h"
|
|
18
|
-
namespace http2{
|
|
19
|
-
constexpr size_t DecodeBuffer::kMaxDecodeBufferLength;
|
|
20
|
-
}
|
|
21
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Auto generated with chartype.pl script. Mask of various character
|
|
3
|
-
* properties
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
static const unsigned char char_type[] = {
|
|
7
|
-
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
8
|
-
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
9
|
-
120, 0, 1, 40, 0, 0, 0, 16, 16, 16, 0, 25, 25, 16, 16, 16,
|
|
10
|
-
16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 9, 9, 16, 9, 16,
|
|
11
|
-
0, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
|
|
12
|
-
16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 0, 1, 0, 0, 0,
|
|
13
|
-
0, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
|
|
14
|
-
16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 0, 0, 0, 0, 2
|
|
15
|
-
};
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
#!/usr/local/bin/perl -w
|
|
2
|
-
|
|
3
|
-
# Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
|
|
4
|
-
# 2000.
|
|
5
|
-
#
|
|
6
|
-
# ====================================================================
|
|
7
|
-
# Copyright (c) 2000 The OpenSSL Project. All rights reserved.
|
|
8
|
-
#
|
|
9
|
-
# Redistribution and use in source and binary forms, with or without
|
|
10
|
-
# modification, are permitted provided that the following conditions
|
|
11
|
-
# are met:
|
|
12
|
-
#
|
|
13
|
-
# 1. Redistributions of source code must retain the above copyright
|
|
14
|
-
# notice, this list of conditions and the following disclaimer.
|
|
15
|
-
#
|
|
16
|
-
# 2. Redistributions in binary form must reproduce the above copyright
|
|
17
|
-
# notice, this list of conditions and the following disclaimer in
|
|
18
|
-
# the documentation and/or other materials provided with the
|
|
19
|
-
# distribution.
|
|
20
|
-
#
|
|
21
|
-
# 3. All advertising materials mentioning features or use of this
|
|
22
|
-
# software must display the following acknowledgment:
|
|
23
|
-
# "This product includes software developed by the OpenSSL Project
|
|
24
|
-
# for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)"
|
|
25
|
-
#
|
|
26
|
-
# 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
|
|
27
|
-
# endorse or promote products derived from this software without
|
|
28
|
-
# prior written permission. For written permission, please contact
|
|
29
|
-
# licensing@OpenSSL.org.
|
|
30
|
-
#
|
|
31
|
-
# 5. Products derived from this software may not be called "OpenSSL"
|
|
32
|
-
# nor may "OpenSSL" appear in their names without prior written
|
|
33
|
-
# permission of the OpenSSL Project.
|
|
34
|
-
#
|
|
35
|
-
# 6. Redistributions of any form whatsoever must retain the following
|
|
36
|
-
# acknowledgment:
|
|
37
|
-
# "This product includes software developed by the OpenSSL Project
|
|
38
|
-
# for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)"
|
|
39
|
-
#
|
|
40
|
-
# THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
|
|
41
|
-
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
42
|
-
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
43
|
-
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
|
|
44
|
-
# ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
45
|
-
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
46
|
-
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
47
|
-
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
48
|
-
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
49
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
50
|
-
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
51
|
-
# OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
52
|
-
# ====================================================================
|
|
53
|
-
#
|
|
54
|
-
# This product includes cryptographic software written by Eric Young
|
|
55
|
-
# (eay@cryptsoft.com). This product includes software written by Tim
|
|
56
|
-
# Hudson (tjh@cryptsoft.com).
|
|
57
|
-
|
|
58
|
-
use strict;
|
|
59
|
-
|
|
60
|
-
my ($i, @arr);
|
|
61
|
-
|
|
62
|
-
# Set up an array with the type of ASCII characters
|
|
63
|
-
# Each set bit represents a character property.
|
|
64
|
-
|
|
65
|
-
# RFC 2253 character properties
|
|
66
|
-
my $RFC2253_ESC = 1; # Character escaped with \
|
|
67
|
-
my $ESC_CTRL = 2; # Escaped control character
|
|
68
|
-
# These are used with RFC 1779 quoting using "
|
|
69
|
-
my $NOESC_QUOTE = 8; # Not escaped if quoted
|
|
70
|
-
my $PSTRING_CHAR = 0x10; # Valid PrintableString character
|
|
71
|
-
my $RFC2253_FIRST_ESC = 0x20; # Escaped with \ if first character
|
|
72
|
-
my $RFC2253_LAST_ESC = 0x40; # Escaped with \ if last character
|
|
73
|
-
|
|
74
|
-
for($i = 0; $i < 128; $i++) {
|
|
75
|
-
# Set the RFC 2253 escape characters (control)
|
|
76
|
-
$arr[$i] = 0;
|
|
77
|
-
if(($i < 32) || ($i > 126)) {
|
|
78
|
-
$arr[$i] |= $ESC_CTRL;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
# Some PrintableString characters
|
|
82
|
-
if( ( ( $i >= ord("a")) && ( $i <= ord("z")) )
|
|
83
|
-
|| ( ( $i >= ord("A")) && ( $i <= ord("Z")) )
|
|
84
|
-
|| ( ( $i >= ord("0")) && ( $i <= ord("9")) ) ) {
|
|
85
|
-
$arr[$i] |= $PSTRING_CHAR;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
# Now setup the rest
|
|
90
|
-
|
|
91
|
-
# Remaining RFC 2253 escaped characters
|
|
92
|
-
|
|
93
|
-
$arr[ord(" ")] |= $NOESC_QUOTE | $RFC2253_FIRST_ESC | $RFC2253_LAST_ESC;
|
|
94
|
-
$arr[ord("#")] |= $NOESC_QUOTE | $RFC2253_FIRST_ESC;
|
|
95
|
-
|
|
96
|
-
$arr[ord(",")] |= $NOESC_QUOTE | $RFC2253_ESC;
|
|
97
|
-
$arr[ord("+")] |= $NOESC_QUOTE | $RFC2253_ESC;
|
|
98
|
-
$arr[ord("\"")] |= $RFC2253_ESC;
|
|
99
|
-
$arr[ord("\\")] |= $RFC2253_ESC;
|
|
100
|
-
$arr[ord("<")] |= $NOESC_QUOTE | $RFC2253_ESC;
|
|
101
|
-
$arr[ord(">")] |= $NOESC_QUOTE | $RFC2253_ESC;
|
|
102
|
-
$arr[ord(";")] |= $NOESC_QUOTE | $RFC2253_ESC;
|
|
103
|
-
|
|
104
|
-
# Remaining PrintableString characters
|
|
105
|
-
|
|
106
|
-
$arr[ord(" ")] |= $PSTRING_CHAR;
|
|
107
|
-
$arr[ord("'")] |= $PSTRING_CHAR;
|
|
108
|
-
$arr[ord("(")] |= $PSTRING_CHAR;
|
|
109
|
-
$arr[ord(")")] |= $PSTRING_CHAR;
|
|
110
|
-
$arr[ord("+")] |= $PSTRING_CHAR;
|
|
111
|
-
$arr[ord(",")] |= $PSTRING_CHAR;
|
|
112
|
-
$arr[ord("-")] |= $PSTRING_CHAR;
|
|
113
|
-
$arr[ord(".")] |= $PSTRING_CHAR;
|
|
114
|
-
$arr[ord("/")] |= $PSTRING_CHAR;
|
|
115
|
-
$arr[ord(":")] |= $PSTRING_CHAR;
|
|
116
|
-
$arr[ord("=")] |= $PSTRING_CHAR;
|
|
117
|
-
$arr[ord("?")] |= $PSTRING_CHAR;
|
|
118
|
-
|
|
119
|
-
# Now generate the C code
|
|
120
|
-
|
|
121
|
-
print <<EOF;
|
|
122
|
-
/* Auto generated with chartype.pl script.
|
|
123
|
-
* Mask of various character properties
|
|
124
|
-
*/
|
|
125
|
-
|
|
126
|
-
static const unsigned char char_type[] = {
|
|
127
|
-
EOF
|
|
128
|
-
|
|
129
|
-
for($i = 0; $i < 128; $i++) {
|
|
130
|
-
print("\n") if($i && (($i % 16) == 0));
|
|
131
|
-
printf("%2d", $arr[$i]);
|
|
132
|
-
print(",") if ($i != 127);
|
|
133
|
-
}
|
|
134
|
-
print("\n};\n\n");
|
|
135
|
-
|