Bug 1962095 - update neqo to v0.13.2 r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D246408
This commit is contained in:
@@ -100,9 +100,9 @@ git = "https://github.com/mozilla/mp4parse-rust"
|
|||||||
rev = "e64650a686e5c5732395cd059e17cfd3b1e5b63b"
|
rev = "e64650a686e5c5732395cd059e17cfd3b1e5b63b"
|
||||||
replace-with = "vendored-sources"
|
replace-with = "vendored-sources"
|
||||||
|
|
||||||
[source."git+https://github.com/mozilla/neqo?tag=v0.13.1"]
|
[source."git+https://github.com/mozilla/neqo?tag=v0.13.2"]
|
||||||
git = "https://github.com/mozilla/neqo"
|
git = "https://github.com/mozilla/neqo"
|
||||||
tag = "v0.13.1"
|
tag = "v0.13.2"
|
||||||
replace-with = "vendored-sources"
|
replace-with = "vendored-sources"
|
||||||
|
|
||||||
[source."git+https://github.com/servo/rust-cssparser?rev=958a3f098acb92ddacdce18a7ef2c4a87ac3326f"]
|
[source."git+https://github.com/servo/rust-cssparser?rev=958a3f098acb92ddacdce18a7ef2c4a87ac3326f"]
|
||||||
|
|||||||
28
Cargo.lock
generated
28
Cargo.lock
generated
@@ -4611,8 +4611,8 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "neqo-bin"
|
name = "neqo-bin"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
source = "git+https://github.com/mozilla/neqo?tag=v0.13.1#0a356afeb45631036df6b3028951a02d16fa8d27"
|
source = "git+https://github.com/mozilla/neqo?tag=v0.13.2#847a5989f20d30eb3675d1435180fd48a8c6a3ad"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"clap-verbosity-flag",
|
"clap-verbosity-flag",
|
||||||
@@ -4633,8 +4633,8 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "neqo-common"
|
name = "neqo-common"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
source = "git+https://github.com/mozilla/neqo?tag=v0.13.1#0a356afeb45631036df6b3028951a02d16fa8d27"
|
source = "git+https://github.com/mozilla/neqo?tag=v0.13.2#847a5989f20d30eb3675d1435180fd48a8c6a3ad"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"enum-map",
|
"enum-map",
|
||||||
"env_logger",
|
"env_logger",
|
||||||
@@ -4646,8 +4646,8 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "neqo-crypto"
|
name = "neqo-crypto"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
source = "git+https://github.com/mozilla/neqo?tag=v0.13.1#0a356afeb45631036df6b3028951a02d16fa8d27"
|
source = "git+https://github.com/mozilla/neqo?tag=v0.13.2#847a5989f20d30eb3675d1435180fd48a8c6a3ad"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bindgen 0.69.4",
|
"bindgen 0.69.4",
|
||||||
"enum-map",
|
"enum-map",
|
||||||
@@ -4663,8 +4663,8 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "neqo-http3"
|
name = "neqo-http3"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
source = "git+https://github.com/mozilla/neqo?tag=v0.13.1#0a356afeb45631036df6b3028951a02d16fa8d27"
|
source = "git+https://github.com/mozilla/neqo?tag=v0.13.2#847a5989f20d30eb3675d1435180fd48a8c6a3ad"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"enumset",
|
"enumset",
|
||||||
"log",
|
"log",
|
||||||
@@ -4680,8 +4680,8 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "neqo-qpack"
|
name = "neqo-qpack"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
source = "git+https://github.com/mozilla/neqo?tag=v0.13.1#0a356afeb45631036df6b3028951a02d16fa8d27"
|
source = "git+https://github.com/mozilla/neqo?tag=v0.13.2#847a5989f20d30eb3675d1435180fd48a8c6a3ad"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"neqo-common",
|
"neqo-common",
|
||||||
@@ -4692,8 +4692,8 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "neqo-transport"
|
name = "neqo-transport"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
source = "git+https://github.com/mozilla/neqo?tag=v0.13.1#0a356afeb45631036df6b3028951a02d16fa8d27"
|
source = "git+https://github.com/mozilla/neqo?tag=v0.13.2#847a5989f20d30eb3675d1435180fd48a8c6a3ad"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"enum-map",
|
"enum-map",
|
||||||
"enumset",
|
"enumset",
|
||||||
@@ -4710,8 +4710,8 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "neqo-udp"
|
name = "neqo-udp"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
source = "git+https://github.com/mozilla/neqo?tag=v0.13.1#0a356afeb45631036df6b3028951a02d16fa8d27"
|
source = "git+https://github.com/mozilla/neqo?tag=v0.13.2#847a5989f20d30eb3675d1435180fd48a8c6a3ad"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg_aliases",
|
"cfg_aliases",
|
||||||
"log",
|
"log",
|
||||||
|
|||||||
@@ -10,11 +10,11 @@ name = "neqo_glue"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
firefox-on-glean = { path = "../../../toolkit/components/glean/api" }
|
firefox-on-glean = { path = "../../../toolkit/components/glean/api" }
|
||||||
neqo-udp = { tag = "v0.13.1", git = "https://github.com/mozilla/neqo" }
|
neqo-udp = { tag = "v0.13.2", git = "https://github.com/mozilla/neqo" }
|
||||||
neqo-http3 = { tag = "v0.13.1", git = "https://github.com/mozilla/neqo" }
|
neqo-http3 = { tag = "v0.13.2", git = "https://github.com/mozilla/neqo" }
|
||||||
neqo-transport = { tag = "v0.13.1", git = "https://github.com/mozilla/neqo", features = ["gecko"] }
|
neqo-transport = { tag = "v0.13.2", git = "https://github.com/mozilla/neqo", features = ["gecko"] }
|
||||||
neqo-common = { tag = "v0.13.1", git = "https://github.com/mozilla/neqo" }
|
neqo-common = { tag = "v0.13.2", git = "https://github.com/mozilla/neqo" }
|
||||||
neqo-qpack = { tag = "v0.13.1", git = "https://github.com/mozilla/neqo" }
|
neqo-qpack = { tag = "v0.13.2", git = "https://github.com/mozilla/neqo" }
|
||||||
nserror = { path = "../../../xpcom/rust/nserror" }
|
nserror = { path = "../../../xpcom/rust/nserror" }
|
||||||
nsstring = { path = "../../../xpcom/rust/nsstring" }
|
nsstring = { path = "../../../xpcom/rust/nsstring" }
|
||||||
xpcom = { path = "../../../xpcom/rust/xpcom" }
|
xpcom = { path = "../../../xpcom/rust/xpcom" }
|
||||||
@@ -30,7 +30,7 @@ uuid = { version = "1.0", features = ["v4"] }
|
|||||||
winapi = {version = "0.3", features = ["ws2def"] }
|
winapi = {version = "0.3", features = ["ws2def"] }
|
||||||
|
|
||||||
[dependencies.neqo-crypto]
|
[dependencies.neqo-crypto]
|
||||||
tag = "v0.13.1"
|
tag = "v0.13.2"
|
||||||
git = "https://github.com/mozilla/neqo"
|
git = "https://github.com/mozilla/neqo"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["gecko"]
|
features = ["gecko"]
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ edition = "2021"
|
|||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
neqo-bin = { tag = "v0.13.1", git = "https://github.com/mozilla/neqo" }
|
neqo-bin = { tag = "v0.13.2", git = "https://github.com/mozilla/neqo" }
|
||||||
neqo-transport = { tag = "v0.13.1", git = "https://github.com/mozilla/neqo", features = ["gecko"] }
|
neqo-transport = { tag = "v0.13.2", git = "https://github.com/mozilla/neqo", features = ["gecko"] }
|
||||||
neqo-common = { tag = "v0.13.1", git = "https://github.com/mozilla/neqo" }
|
neqo-common = { tag = "v0.13.2", git = "https://github.com/mozilla/neqo" }
|
||||||
neqo-http3 = { tag = "v0.13.1", git = "https://github.com/mozilla/neqo" }
|
neqo-http3 = { tag = "v0.13.2", git = "https://github.com/mozilla/neqo" }
|
||||||
neqo-qpack = { tag = "v0.13.1", git = "https://github.com/mozilla/neqo" }
|
neqo-qpack = { tag = "v0.13.2", git = "https://github.com/mozilla/neqo" }
|
||||||
log = "0.4.0"
|
log = "0.4.0"
|
||||||
base64 = "0.22"
|
base64 = "0.22"
|
||||||
cfg-if = "1.0"
|
cfg-if = "1.0"
|
||||||
@@ -20,7 +20,7 @@ tokio = { version = "1", features = ["rt-multi-thread"] }
|
|||||||
mozilla-central-workspace-hack = { version = "0.1", features = ["http3server"], optional = true }
|
mozilla-central-workspace-hack = { version = "0.1", features = ["http3server"], optional = true }
|
||||||
|
|
||||||
[dependencies.neqo-crypto]
|
[dependencies.neqo-crypto]
|
||||||
tag = "v0.13.1"
|
tag = "v0.13.2"
|
||||||
git = "https://github.com/mozilla/neqo"
|
git = "https://github.com/mozilla/neqo"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["gecko"]
|
features = ["gecko"]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"files":{"Cargo.toml":"632822ea728db24db8ccbba6a7b38431bba66b1c7f090e50c9bc254f16c7fa16","benches/main.rs":"7bd395227024b062e87eff0e7e2afa4a2dc70d7497c999aa665709577818f466","src/bin/client.rs":"71952208bcee80e8ff37a5dfe7cac19940274157e8ecf8acc6edc4d918c813b7","src/bin/server.rs":"88d3b2310f4a899053603cce4fd03703f26a8b91ff487bf5942b6e45c135a9fa","src/client/http09.rs":"b0b3ff496dbf35fe582a3f02780792bba34cb510d2acbcb43023180bec27cae1","src/client/http3.rs":"3f7bd425fa3bbdea005c91be6f25c861dc20819c2aeee42d4ffab7a7e3ef7282","src/client/mod.rs":"9185f1039d1e920a720330ec8b63f8b42d3924c26e95b6636436c9c5e1ae20a1","src/lib.rs":"ced2561bbebce6440b8ee902316afe7ca9df8dfeb632053587854838815e7c74","src/send_data.rs":"7537b7a0f67e9077cf121cc3d0fcd42edb085801dd4baf25b14c22a01f1bf04f","src/server/http09.rs":"b5236d9cc7b3c6c46cef9be521bc85e1b618960c0315465760a3d58e92c82c32","src/server/http3.rs":"2c826fb81a792221878a6d16bcaf6f1bed88fe0b424315c262eb08479ac5b4c4","src/server/mod.rs":"1c4c453452e5788ea3b3ab0c2d2193a291a39426466a28d8a0b384206392d485","src/udp.rs":"d68cd0fba6a0e679f79cce5c443bceba48c6ddbd2b5f492a075c9da8765b3047"},"package":null}
|
{"files":{"Cargo.toml":"fe9c02bbcdb328cbe918ef5f0dcddcb86edbcb8ee571f4853eab1ee493101eeb","benches/main.rs":"7bd395227024b062e87eff0e7e2afa4a2dc70d7497c999aa665709577818f466","src/bin/client.rs":"71952208bcee80e8ff37a5dfe7cac19940274157e8ecf8acc6edc4d918c813b7","src/bin/server.rs":"88d3b2310f4a899053603cce4fd03703f26a8b91ff487bf5942b6e45c135a9fa","src/client/http09.rs":"b0b3ff496dbf35fe582a3f02780792bba34cb510d2acbcb43023180bec27cae1","src/client/http3.rs":"3f7bd425fa3bbdea005c91be6f25c861dc20819c2aeee42d4ffab7a7e3ef7282","src/client/mod.rs":"9185f1039d1e920a720330ec8b63f8b42d3924c26e95b6636436c9c5e1ae20a1","src/lib.rs":"ced2561bbebce6440b8ee902316afe7ca9df8dfeb632053587854838815e7c74","src/send_data.rs":"7537b7a0f67e9077cf121cc3d0fcd42edb085801dd4baf25b14c22a01f1bf04f","src/server/http09.rs":"b5236d9cc7b3c6c46cef9be521bc85e1b618960c0315465760a3d58e92c82c32","src/server/http3.rs":"2c826fb81a792221878a6d16bcaf6f1bed88fe0b424315c262eb08479ac5b4c4","src/server/mod.rs":"1c4c453452e5788ea3b3ab0c2d2193a291a39426466a28d8a0b384206392d485","src/udp.rs":"d68cd0fba6a0e679f79cce5c443bceba48c6ddbd2b5f492a075c9da8765b3047"},"package":null}
|
||||||
2
third_party/rust/neqo-bin/Cargo.toml
vendored
2
third_party/rust/neqo-bin/Cargo.toml
vendored
@@ -13,7 +13,7 @@
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.82.0"
|
rust-version = "1.82.0"
|
||||||
name = "neqo-bin"
|
name = "neqo-bin"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
||||||
build = false
|
build = false
|
||||||
autolib = false
|
autolib = false
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"files":{"Cargo.toml":"eb681eeb4daecac76e7fc32d2ec1b1d28d37acbfbf4e800e28533a3f9426db58","benches/decoder.rs":"3b03abd08c064d11c07e6d4eaf041873c282adf93e9bc76e40f2f0137e342929","build.rs":"d9accad1f92a1d82aff73a588269342db882918173e8d9b2b914c514e42e2839","src/codec.rs":"b56abcf6fc76d7c24a6f25e0df556fa3c47a37249b43ae97451944082d344a30","src/datagram.rs":"88ef237b95b4ce10abe5e8e4740a4a8178f19146fc82c49053d3b62819ac428a","src/event.rs":"289cf8e265c33e7cded58820ac81e5b575e3f84dd52fa18b0761f4094fb361c0","src/fuzz.rs":"9e0f2dca1832ef49b93b214e8d5f1ca2f5f8cb84a856fead344f62a722c370db","src/header.rs":"b561dffd52ec8909297ec67ac5f75150dfca73399111e709cf6ea7a34998fca5","src/hrtime.rs":"7096fd12ccc33566aac58f19a4e7439690b2fa38c258584946f76a422ab98087","src/incrdecoder.rs":"029081f0ae19db49c3278c865f22584fc24315169e5ffc1bd5a0087e8c0d38b9","src/lib.rs":"5f15b8b96cd8935e4cc231bb37d45458794ffe23eea0db1b37e42ea7346ac10d","src/log.rs":"61a9b24bf6bf1493da67082bcf7fef8fe55f0a23d7f2a9ad13748982c54c85e2","src/qlog.rs":"3c6f403f0ad2b34fc7ba63b1338bc0855bc232a2b5dd5c1039846b10af2b1d35","src/tos.rs":"108ebfcadf172aae1ba1c722316080b70ec017bf9c866f1ab8d315231d04fd09","tests/log.rs":"671a963f938599b76c0678f3931592e1782765ed4ea13e6cbfec2ab97c36e2c9"},"package":null}
|
{"files":{"Cargo.toml":"ccf547219da914519d3e2a82b673bf911dc60632b342bab3fdaa64283c7c442b","benches/decoder.rs":"3b03abd08c064d11c07e6d4eaf041873c282adf93e9bc76e40f2f0137e342929","build.rs":"d9accad1f92a1d82aff73a588269342db882918173e8d9b2b914c514e42e2839","src/codec.rs":"b56abcf6fc76d7c24a6f25e0df556fa3c47a37249b43ae97451944082d344a30","src/datagram.rs":"88ef237b95b4ce10abe5e8e4740a4a8178f19146fc82c49053d3b62819ac428a","src/event.rs":"289cf8e265c33e7cded58820ac81e5b575e3f84dd52fa18b0761f4094fb361c0","src/fuzz.rs":"9e0f2dca1832ef49b93b214e8d5f1ca2f5f8cb84a856fead344f62a722c370db","src/header.rs":"b561dffd52ec8909297ec67ac5f75150dfca73399111e709cf6ea7a34998fca5","src/hrtime.rs":"7096fd12ccc33566aac58f19a4e7439690b2fa38c258584946f76a422ab98087","src/incrdecoder.rs":"029081f0ae19db49c3278c865f22584fc24315169e5ffc1bd5a0087e8c0d38b9","src/lib.rs":"5f15b8b96cd8935e4cc231bb37d45458794ffe23eea0db1b37e42ea7346ac10d","src/log.rs":"61a9b24bf6bf1493da67082bcf7fef8fe55f0a23d7f2a9ad13748982c54c85e2","src/qlog.rs":"3c6f403f0ad2b34fc7ba63b1338bc0855bc232a2b5dd5c1039846b10af2b1d35","src/tos.rs":"108ebfcadf172aae1ba1c722316080b70ec017bf9c866f1ab8d315231d04fd09","tests/log.rs":"671a963f938599b76c0678f3931592e1782765ed4ea13e6cbfec2ab97c36e2c9"},"package":null}
|
||||||
2
third_party/rust/neqo-common/Cargo.toml
vendored
2
third_party/rust/neqo-common/Cargo.toml
vendored
@@ -13,7 +13,7 @@
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.82.0"
|
rust-version = "1.82.0"
|
||||||
name = "neqo-common"
|
name = "neqo-common"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
autolib = false
|
autolib = false
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"files":{"Cargo.toml":"2dd521b9c64bcc1916751c27e89a542528652f742092feecb8866178cf9a8a72","bindings/bindings.toml":"e7e4b75736cfcf4d52febacb99a6f6c6c7b1d648ed8bdc424648be876c850e91","bindings/nspr_err.h":"2d5205d017b536c2d838bcf9bc4ec79f96dd50e7bb9b73892328781f1ee6629d","bindings/nspr_error.h":"e41c03c77b8c22046f8618832c9569fbcc7b26d8b9bbc35eea7168f35e346889","bindings/nspr_io.h":"085b289849ef0e77f88512a27b4d9bdc28252bd4d39c6a17303204e46ef45f72","bindings/nspr_time.h":"2e637fd338a5cf0fd3fb0070a47f474a34c2a7f4447f31b6875f5a9928d0a261","bindings/nss_ciphers.h":"95ec6344a607558b3c5ba8510f463b6295f3a2fb3f538a01410531045a5f62d1","bindings/nss_init.h":"ef49045063782fb612aff459172cc6a89340f15005808608ade5320ca9974310","bindings/nss_p11.h":"0b81e64fe6db49b2ecff94edd850be111ef99ec11220e88ceb1c67be90143a78","bindings/nss_secerr.h":"713e8368bdae5159af7893cfa517dabfe5103cede051dee9c9557c850a2defc6","bindings/nss_ssl.h":"af222fb957b989e392e762fa2125c82608a0053aff4fb97e556691646c88c335","bindings/nss_sslerr.h":"24b97f092183d8486f774cdaef5030d0249221c78343570d83a4ee5b594210ae","bindings/nss_sslopt.h":"b7807eb7abdad14db6ad7bc51048a46b065a0ea65a4508c95a12ce90e59d1eea","build.rs":"97fb6b8f8bb76dc1ed47988025645da618f3301871827d2a98d57254f7c62d5b","min_version.txt":"0f9ddf9ddaeb5137a5ab3d238d06286822f9579b1f46ba76312a8c6d76176500","src/aead.rs":"08d7cad82e3bec32661cfd1689e6611b30ae328ec88481cb32201dd255777365","src/aead_null.rs":"a766e2f71fd8b77a8f81bc60aaaafcffb6aef1f0a1f39ea07fef45b3696718ce","src/agent.rs":"19d9ee826e30c29ca8680e9ec767d19eac2326323f61b2a19bb62874990bf349","src/agentio.rs":"82f0cdececcb475c7b8639c993d4479bce7ac5fdf64b0d560f4b2fd356d03b03","src/auth.rs":"7a1524bef0a0c71616f5ee8b3976d66201210b809271bcf5d06c0e560ae482af","src/cert.rs":"4fdaa3834d8a72f41198449010fd5c3f6be6a54e429427c37bde5aab9421585c","src/constants.rs":"83606aeb646b2833a8094f9d980c266ecc3e8cb40c93a4820da221988319dd1a","src/ech.rs":"19d16af5a30e2060a8942a72487bd820c0d9c62ff1d3c490871752c56781c44b","src/err.rs":"b1e76e595326598a9bac45859f337ad9fb9a92ba9461d8c87250556a2629e7b6","src/exp.rs":"30f91d321439edc75c7f9a595ef5a0064918826d51ab15642db211472694009c","src/ext.rs":"7486595a24d39bd6c573e2229be345d13dbcd6911755ab6ab96d89ce7e263dd3","src/hkdf.rs":"76c5abc8b2d6ee12d8a86cd730af2cf47a59b2fbfd3b8a635a1826636156794d","src/hp.rs":"6adf4ad78b5a065ab7310c69ad239eec156256043e2c185bf60b9d1f12ab1be4","src/lib.rs":"3ab979c264a909e663c5ef140cd57013180745b99937671c73a9003ca6347f41","src/min_version.rs":"c6e1f98b9f56db0622ac38c1be131c55acf4a0f09ed0d6283f4d6308e2d1301a","src/p11.rs":"5c0759bb8ea5faad1a3d06fa7afb3dba114c93ea21981c85824d707f654d7c3d","src/prio.rs":"1858088afd2668e8fbff56959765b7d4df09342371b9282ade27bb4d7bd6ce69","src/replay.rs":"594ce92f368cbc5fb71ebfb62214f07d1e86df8e5ce94255d5593ffabb91cd03","src/result.rs":"5a76688787741de7a935dbbab4bcb917d481d1c9c50a34df7e510036feb3da17","src/secrets.rs":"f01ac665e3c65674865d0645fb1bf3e4579891bf392661e3de3c9f4621e454f0","src/selfencrypt.rs":"4f106465f582c38d3bb04cb5cbcbf65a349e3186784726d9f2bf511a4a4a35ee","src/ssl.rs":"04950bb534b5304eb417909a3a39ebaa9be234c7c13eacdc41c00a8edab1b09f","src/time.rs":"22989caf3dab85cfe955cc279fcca98a6df02d14fcd0e93cac7b39374b8b5763","tests/aead.rs":"e36ae77802df1ea6d17cfd1bd2178a3706089577d6fd1554ca86e748b8b235b9","tests/agent.rs":"fb95a2d5c86ce3fafcb127cd0a2a163e5ee70baf09b2c8483e4d1fb25644cee2","tests/ext.rs":"57af4e2df211fa8afdb73125d4344ef5c70c1ea4579107c3e6f5746308ee3e7b","tests/handshake.rs":"c06ed3d27b0f84b03ff0d0356a16601768821d9860cab81a49fea3eebb3091f2","tests/hkdf.rs":"1d2098dc8398395864baf13e4886cfd1da6d36118727c3b264f457ee3da6b048","tests/hp.rs":"1ad88108b6d8c5d078fc7bb2a4337a54f637d4e149db750f4916032d90aa64a7","tests/init.rs":"3cfe8411ca31ad7dfb23822bb1570e1a5b2b334857173bdd7df086b65b81d95a","tests/selfencrypt.rs":"b65aed70e83dce660017159fc8a956d3b52e0807b590ad8d0a3a4265caa8c1fa"},"package":null}
|
{"files":{"Cargo.toml":"a9d80fa781c5712b8e19e7b773c08a517462786be295ee0e9f39006c1790c551","bindings/bindings.toml":"e7e4b75736cfcf4d52febacb99a6f6c6c7b1d648ed8bdc424648be876c850e91","bindings/nspr_err.h":"2d5205d017b536c2d838bcf9bc4ec79f96dd50e7bb9b73892328781f1ee6629d","bindings/nspr_error.h":"e41c03c77b8c22046f8618832c9569fbcc7b26d8b9bbc35eea7168f35e346889","bindings/nspr_io.h":"085b289849ef0e77f88512a27b4d9bdc28252bd4d39c6a17303204e46ef45f72","bindings/nspr_time.h":"2e637fd338a5cf0fd3fb0070a47f474a34c2a7f4447f31b6875f5a9928d0a261","bindings/nss_ciphers.h":"95ec6344a607558b3c5ba8510f463b6295f3a2fb3f538a01410531045a5f62d1","bindings/nss_init.h":"ef49045063782fb612aff459172cc6a89340f15005808608ade5320ca9974310","bindings/nss_p11.h":"0b81e64fe6db49b2ecff94edd850be111ef99ec11220e88ceb1c67be90143a78","bindings/nss_secerr.h":"713e8368bdae5159af7893cfa517dabfe5103cede051dee9c9557c850a2defc6","bindings/nss_ssl.h":"af222fb957b989e392e762fa2125c82608a0053aff4fb97e556691646c88c335","bindings/nss_sslerr.h":"24b97f092183d8486f774cdaef5030d0249221c78343570d83a4ee5b594210ae","bindings/nss_sslopt.h":"b7807eb7abdad14db6ad7bc51048a46b065a0ea65a4508c95a12ce90e59d1eea","build.rs":"97fb6b8f8bb76dc1ed47988025645da618f3301871827d2a98d57254f7c62d5b","min_version.txt":"0f9ddf9ddaeb5137a5ab3d238d06286822f9579b1f46ba76312a8c6d76176500","src/aead.rs":"08d7cad82e3bec32661cfd1689e6611b30ae328ec88481cb32201dd255777365","src/aead_null.rs":"a766e2f71fd8b77a8f81bc60aaaafcffb6aef1f0a1f39ea07fef45b3696718ce","src/agent.rs":"19d9ee826e30c29ca8680e9ec767d19eac2326323f61b2a19bb62874990bf349","src/agentio.rs":"82f0cdececcb475c7b8639c993d4479bce7ac5fdf64b0d560f4b2fd356d03b03","src/auth.rs":"7a1524bef0a0c71616f5ee8b3976d66201210b809271bcf5d06c0e560ae482af","src/cert.rs":"4fdaa3834d8a72f41198449010fd5c3f6be6a54e429427c37bde5aab9421585c","src/constants.rs":"83606aeb646b2833a8094f9d980c266ecc3e8cb40c93a4820da221988319dd1a","src/ech.rs":"19d16af5a30e2060a8942a72487bd820c0d9c62ff1d3c490871752c56781c44b","src/err.rs":"b1e76e595326598a9bac45859f337ad9fb9a92ba9461d8c87250556a2629e7b6","src/exp.rs":"30f91d321439edc75c7f9a595ef5a0064918826d51ab15642db211472694009c","src/ext.rs":"7486595a24d39bd6c573e2229be345d13dbcd6911755ab6ab96d89ce7e263dd3","src/hkdf.rs":"76c5abc8b2d6ee12d8a86cd730af2cf47a59b2fbfd3b8a635a1826636156794d","src/hp.rs":"6adf4ad78b5a065ab7310c69ad239eec156256043e2c185bf60b9d1f12ab1be4","src/lib.rs":"3ab979c264a909e663c5ef140cd57013180745b99937671c73a9003ca6347f41","src/min_version.rs":"c6e1f98b9f56db0622ac38c1be131c55acf4a0f09ed0d6283f4d6308e2d1301a","src/p11.rs":"5c0759bb8ea5faad1a3d06fa7afb3dba114c93ea21981c85824d707f654d7c3d","src/prio.rs":"1858088afd2668e8fbff56959765b7d4df09342371b9282ade27bb4d7bd6ce69","src/replay.rs":"594ce92f368cbc5fb71ebfb62214f07d1e86df8e5ce94255d5593ffabb91cd03","src/result.rs":"5a76688787741de7a935dbbab4bcb917d481d1c9c50a34df7e510036feb3da17","src/secrets.rs":"5d85b1e15f47cd267fe70fa8ea7e4ebc4b07eab7713f451afeefcf15f146f8a5","src/selfencrypt.rs":"4f106465f582c38d3bb04cb5cbcbf65a349e3186784726d9f2bf511a4a4a35ee","src/ssl.rs":"04950bb534b5304eb417909a3a39ebaa9be234c7c13eacdc41c00a8edab1b09f","src/time.rs":"22989caf3dab85cfe955cc279fcca98a6df02d14fcd0e93cac7b39374b8b5763","tests/aead.rs":"e36ae77802df1ea6d17cfd1bd2178a3706089577d6fd1554ca86e748b8b235b9","tests/agent.rs":"fb95a2d5c86ce3fafcb127cd0a2a163e5ee70baf09b2c8483e4d1fb25644cee2","tests/ext.rs":"57af4e2df211fa8afdb73125d4344ef5c70c1ea4579107c3e6f5746308ee3e7b","tests/handshake.rs":"c06ed3d27b0f84b03ff0d0356a16601768821d9860cab81a49fea3eebb3091f2","tests/hkdf.rs":"1d2098dc8398395864baf13e4886cfd1da6d36118727c3b264f457ee3da6b048","tests/hp.rs":"1ad88108b6d8c5d078fc7bb2a4337a54f637d4e149db750f4916032d90aa64a7","tests/init.rs":"3cfe8411ca31ad7dfb23822bb1570e1a5b2b334857173bdd7df086b65b81d95a","tests/selfencrypt.rs":"b65aed70e83dce660017159fc8a956d3b52e0807b590ad8d0a3a4265caa8c1fa"},"package":null}
|
||||||
2
third_party/rust/neqo-crypto/Cargo.toml
vendored
2
third_party/rust/neqo-crypto/Cargo.toml
vendored
@@ -13,7 +13,7 @@
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.82.0"
|
rust-version = "1.82.0"
|
||||||
name = "neqo-crypto"
|
name = "neqo-crypto"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
autolib = false
|
autolib = false
|
||||||
|
|||||||
7
third_party/rust/neqo-crypto/src/secrets.rs
vendored
7
third_party/rust/neqo-crypto/src/secrets.rs
vendored
@@ -25,8 +25,11 @@ experimental_api!(SSL_SecretCallback(
|
|||||||
));
|
));
|
||||||
|
|
||||||
#[derive(Clone, Copy, Debug, FromRepr)]
|
#[derive(Clone, Copy, Debug, FromRepr)]
|
||||||
#[cfg_attr(windows, repr(i32))] // Windows has to be different, of course.
|
// Use i32 for Windows MSVC, unless it is MinGW (see
|
||||||
#[cfg_attr(not(windows), repr(u32))]
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=1960482). All other platforms
|
||||||
|
// use u32.
|
||||||
|
#[cfg_attr(all(windows, not(target_env = "gnu")), repr(i32))]
|
||||||
|
#[cfg_attr(not(all(windows, not(target_env = "gnu"))), repr(u32))]
|
||||||
pub enum SecretDirection {
|
pub enum SecretDirection {
|
||||||
Read = SSLSecretDirection::ssl_secret_read,
|
Read = SSLSecretDirection::ssl_secret_read,
|
||||||
Write = SSLSecretDirection::ssl_secret_write,
|
Write = SSLSecretDirection::ssl_secret_write,
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"files":{"Cargo.toml":"2ea9b93fd8d1cd8fed7eb33f1f5ab004f6896812d5b53903d15ad09982709943","benches/streams.rs":"00140c3f08abd66b5c785772d110a19b3e75882e6c6a4ea912565a1c18add57e","src/buffered_send_stream.rs":"39c10972e27d2c5c79703a13cf74bd6e5b013c29176f2b352e16cf4d9481d4de","src/client_events.rs":"38e48177d4bc301dce85e4953670e54a39b6bf1ce657412f9fb3497589d099e9","src/conn_params.rs":"7f0df52bceda1923aef2b7c5c64a532f49ea083ea45e3dcd5bd4b03031b89643","src/connection.rs":"e1aecf717d032c5228f0d8bee86d2d2960f471596676ba3fd61445625aa23e77","src/connection_client.rs":"48cd86a73960affe2cf101c8db6d12f5e6c7e8dab3412051482a691537ad56b4","src/connection_server.rs":"d16f73685ae29492e2d32321158b6206349fe1b0016d89bc50c2727f47c64140","src/control_stream_local.rs":"6b7774bc392292d66da4b4e915a477942cdcc0b287b38d77c24f1638f4b85755","src/control_stream_remote.rs":"e7d0b5a195e3ef482b36972eac979b7d761215fcb76699112f2d4919708fcf26","src/features/extended_connect/mod.rs":"f24b419d28eaffe47444120443f2b5613db9b5b5154f4b5725b35d8640c222e1","src/features/extended_connect/tests/mod.rs":"fd6aee37243713e80fc526552f21f0222338cec9890409b6575a2a637b17ec1f","src/features/extended_connect/tests/webtransport/datagrams.rs":"51d6f3828c44b438eb1776e8dcce531af520f28bc0d715807d3f53a0eaa071d1","src/features/extended_connect/tests/webtransport/mod.rs":"4e81ae458ecaa1d0f29b7565c19c9751658fe0c7496ce40d7c90a102d9f04a16","src/features/extended_connect/tests/webtransport/negotiation.rs":"b0083f8737bdea9bc0de1940c627d497fee8b79ebc218bbcea0a562ae530527f","src/features/extended_connect/tests/webtransport/sessions.rs":"64b29ec9ba34e636b1109d99ab588666d85c85442565faa9071b743f4f764d6e","src/features/extended_connect/tests/webtransport/streams.rs":"eb0e793dc43ca9296334d29ced70d5ab3d90fd0c4ca3a485abad06c14eec29a4","src/features/extended_connect/webtransport_session.rs":"5888cd09d204738b1ef4e53b83f6c5ccee33d5d3549502d39b5332db3c1c53bd","src/features/extended_connect/webtransport_streams.rs":"9855d77705acb7d21566333c4b297816e363be2ade14b8685fd1df4a4861cf74","src/features/mod.rs":"6f192996e6e2231a97f3fcae2aa02d648e571a6ec5e14b4a23b24b87888d117c","src/frames/hframe.rs":"8cf686390f2bfd28c92a0badcb647c6ea439eeee2a8392e088f6d9af6662854d","src/frames/mod.rs":"ec86e32919bd4cf0baa8686444cb6062d6eabea9b74ef58680f5da476fdcc77c","src/frames/reader.rs":"08df3ec01b29e7b1001160cf63b27f393eafdb1891888e9751d20dd36e903781","src/frames/tests/hframe.rs":"43a7735fc859692633e7f3c031710a9fb635611756cb4b9f387bac0a38c0fa09","src/frames/tests/mod.rs":"4bbdf566a7370605d49373027b38c4bcbd91113f7693efee29b9d91e3914ad98","src/frames/tests/reader.rs":"35f94d1ce1d088fca35592d8a2898c49bd6df0f3facfa12ef6b918124a1356bc","src/frames/tests/wtframe.rs":"c6598d24f5e12972f02de6e1394362671633982db637a07e1c0bb9b56d93ea2a","src/frames/wtframe.rs":"544bc8fa74e3b15cde6e45ba47bcc52f098658e78664abfda8249a89c88d51b9","src/headers_checks.rs":"93b69056321eefa8b0260bbfd8ba82064de2fcb915c7fd63e0f2855ea6187eba","src/lib.rs":"f085007ac4fe1f75ca6f66f55836c395d6c36ccd849b3dfa77958e8bfad2daa4","src/priority.rs":"a32de5a2e333d387e6c73ebe7f1cbd2b14e42724145aed5d6d6c1bd787ca7704","src/push_controller.rs":"ebd055be1be92f9709d57b4347a4f2ceb56b8d1e48e5df1dc7c8cb475529dae6","src/push_id.rs":"cd4cea3102b59918668b66725bbd19b66dc389e35d986132c5ceb72bbc9f3222","src/qlog.rs":"6c0b622cd3ec7d64cb920d38fca0b0e87a43759c6fd4c2d63c352aa9c7ad11bf","src/qpack_decoder_receiver.rs":"eb06c4be59da567fef70c20daa2c0f165c768131165479a210e69659f168b88f","src/qpack_encoder_receiver.rs":"831f3da9ec17966286786ba3f2c723395a132e65d6a33b4ec341fe7640c1a53d","src/recv_message.rs":"cfdc209630332c013b075ff13c28227ecde6d93358116eff82cba88ca37d1c61","src/request_target.rs":"8b8c2d1221e1956f13b66d18f8bc880062549ce5f204f15d39c7d69f727875c9","src/send_message.rs":"4eadd7d5bd8f33e0d2212472200eaacf9f848c795d940ec543247cf4e0f89dbf","src/server.rs":"58da712bfa9fd2901df72d17b1cc7afb2cb8e30af508e3b8239de8841284d36b","src/server_connection_events.rs":"9b429916357f967d697cd9806c720e3ca7cf152603b0ddb16a7f9992a8188ee2","src/server_events.rs":"5599f3c87dfe4ac168c1279967617f702722fac0cb6c9dacf2dfdd31388fb815","src/settings.rs":"ae0b57b462803b963a17616863054e5d6858a89ff1021b52b43de8f72365bdc8","src/stream_type_reader.rs":"5ba77600c5e8c4abdd9443aec20311cf8a812b97ab18a90408aa4e689f42bded","tests/httpconn.rs":"a4dbbfa8bed000ca983bf4f2a015ee49283603924ae5fca8293b0a38f8ee5c2b","tests/priority.rs":"31aede7d5b6c66c415cbf9f0298c8de6fd9591e3c2d455ce24c5a30d56922d09","tests/send_message.rs":"f07c152d97ad074caf6dd52ea26b5eeb57f60a850d109179bae376cd1dcd6dee","tests/webtransport.rs":"1634de76a3081877670d015cfd7b7f7225f8f1c7ddfba729bd5070a25ba10da0"},"package":null}
|
{"files":{"Cargo.toml":"2d85f5a7e70cb7d99fdfd12fe3b6a2b87c76b12db38c5e664555e5e74b97858d","benches/streams.rs":"c61292f3b246fededd84789d6fc9f443312e3b89ca0c1e7aaad9aeaccc5bfa39","src/buffered_send_stream.rs":"39c10972e27d2c5c79703a13cf74bd6e5b013c29176f2b352e16cf4d9481d4de","src/client_events.rs":"38e48177d4bc301dce85e4953670e54a39b6bf1ce657412f9fb3497589d099e9","src/conn_params.rs":"7f0df52bceda1923aef2b7c5c64a532f49ea083ea45e3dcd5bd4b03031b89643","src/connection.rs":"e1aecf717d032c5228f0d8bee86d2d2960f471596676ba3fd61445625aa23e77","src/connection_client.rs":"48cd86a73960affe2cf101c8db6d12f5e6c7e8dab3412051482a691537ad56b4","src/connection_server.rs":"d16f73685ae29492e2d32321158b6206349fe1b0016d89bc50c2727f47c64140","src/control_stream_local.rs":"6b7774bc392292d66da4b4e915a477942cdcc0b287b38d77c24f1638f4b85755","src/control_stream_remote.rs":"e7d0b5a195e3ef482b36972eac979b7d761215fcb76699112f2d4919708fcf26","src/features/extended_connect/mod.rs":"f24b419d28eaffe47444120443f2b5613db9b5b5154f4b5725b35d8640c222e1","src/features/extended_connect/tests/mod.rs":"fd6aee37243713e80fc526552f21f0222338cec9890409b6575a2a637b17ec1f","src/features/extended_connect/tests/webtransport/datagrams.rs":"51d6f3828c44b438eb1776e8dcce531af520f28bc0d715807d3f53a0eaa071d1","src/features/extended_connect/tests/webtransport/mod.rs":"4e81ae458ecaa1d0f29b7565c19c9751658fe0c7496ce40d7c90a102d9f04a16","src/features/extended_connect/tests/webtransport/negotiation.rs":"b0083f8737bdea9bc0de1940c627d497fee8b79ebc218bbcea0a562ae530527f","src/features/extended_connect/tests/webtransport/sessions.rs":"64b29ec9ba34e636b1109d99ab588666d85c85442565faa9071b743f4f764d6e","src/features/extended_connect/tests/webtransport/streams.rs":"eb0e793dc43ca9296334d29ced70d5ab3d90fd0c4ca3a485abad06c14eec29a4","src/features/extended_connect/webtransport_session.rs":"5888cd09d204738b1ef4e53b83f6c5ccee33d5d3549502d39b5332db3c1c53bd","src/features/extended_connect/webtransport_streams.rs":"9855d77705acb7d21566333c4b297816e363be2ade14b8685fd1df4a4861cf74","src/features/mod.rs":"6f192996e6e2231a97f3fcae2aa02d648e571a6ec5e14b4a23b24b87888d117c","src/frames/hframe.rs":"8cf686390f2bfd28c92a0badcb647c6ea439eeee2a8392e088f6d9af6662854d","src/frames/mod.rs":"ec86e32919bd4cf0baa8686444cb6062d6eabea9b74ef58680f5da476fdcc77c","src/frames/reader.rs":"08df3ec01b29e7b1001160cf63b27f393eafdb1891888e9751d20dd36e903781","src/frames/tests/hframe.rs":"43a7735fc859692633e7f3c031710a9fb635611756cb4b9f387bac0a38c0fa09","src/frames/tests/mod.rs":"4bbdf566a7370605d49373027b38c4bcbd91113f7693efee29b9d91e3914ad98","src/frames/tests/reader.rs":"35f94d1ce1d088fca35592d8a2898c49bd6df0f3facfa12ef6b918124a1356bc","src/frames/tests/wtframe.rs":"c6598d24f5e12972f02de6e1394362671633982db637a07e1c0bb9b56d93ea2a","src/frames/wtframe.rs":"544bc8fa74e3b15cde6e45ba47bcc52f098658e78664abfda8249a89c88d51b9","src/headers_checks.rs":"93b69056321eefa8b0260bbfd8ba82064de2fcb915c7fd63e0f2855ea6187eba","src/lib.rs":"f085007ac4fe1f75ca6f66f55836c395d6c36ccd849b3dfa77958e8bfad2daa4","src/priority.rs":"a32de5a2e333d387e6c73ebe7f1cbd2b14e42724145aed5d6d6c1bd787ca7704","src/push_controller.rs":"ebd055be1be92f9709d57b4347a4f2ceb56b8d1e48e5df1dc7c8cb475529dae6","src/push_id.rs":"cd4cea3102b59918668b66725bbd19b66dc389e35d986132c5ceb72bbc9f3222","src/qlog.rs":"6c0b622cd3ec7d64cb920d38fca0b0e87a43759c6fd4c2d63c352aa9c7ad11bf","src/qpack_decoder_receiver.rs":"eb06c4be59da567fef70c20daa2c0f165c768131165479a210e69659f168b88f","src/qpack_encoder_receiver.rs":"831f3da9ec17966286786ba3f2c723395a132e65d6a33b4ec341fe7640c1a53d","src/recv_message.rs":"cfdc209630332c013b075ff13c28227ecde6d93358116eff82cba88ca37d1c61","src/request_target.rs":"8b8c2d1221e1956f13b66d18f8bc880062549ce5f204f15d39c7d69f727875c9","src/send_message.rs":"4eadd7d5bd8f33e0d2212472200eaacf9f848c795d940ec543247cf4e0f89dbf","src/server.rs":"58da712bfa9fd2901df72d17b1cc7afb2cb8e30af508e3b8239de8841284d36b","src/server_connection_events.rs":"9b429916357f967d697cd9806c720e3ca7cf152603b0ddb16a7f9992a8188ee2","src/server_events.rs":"5599f3c87dfe4ac168c1279967617f702722fac0cb6c9dacf2dfdd31388fb815","src/settings.rs":"ae0b57b462803b963a17616863054e5d6858a89ff1021b52b43de8f72365bdc8","src/stream_type_reader.rs":"5ba77600c5e8c4abdd9443aec20311cf8a812b97ab18a90408aa4e689f42bded","tests/httpconn.rs":"a4dbbfa8bed000ca983bf4f2a015ee49283603924ae5fca8293b0a38f8ee5c2b","tests/priority.rs":"31aede7d5b6c66c415cbf9f0298c8de6fd9591e3c2d455ce24c5a30d56922d09","tests/send_message.rs":"f07c152d97ad074caf6dd52ea26b5eeb57f60a850d109179bae376cd1dcd6dee","tests/webtransport.rs":"1634de76a3081877670d015cfd7b7f7225f8f1c7ddfba729bd5070a25ba10da0"},"package":null}
|
||||||
2
third_party/rust/neqo-http3/Cargo.toml
vendored
2
third_party/rust/neqo-http3/Cargo.toml
vendored
@@ -13,7 +13,7 @@
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.82.0"
|
rust-version = "1.82.0"
|
||||||
name = "neqo-http3"
|
name = "neqo-http3"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
||||||
build = false
|
build = false
|
||||||
autolib = false
|
autolib = false
|
||||||
|
|||||||
15
third_party/rust/neqo-http3/benches/streams.rs
vendored
15
third_party/rust/neqo-http3/benches/streams.rs
vendored
@@ -76,21 +76,18 @@ fn connect() -> (Http3Client, Http3Server) {
|
|||||||
fn criterion_benchmark(c: &mut Criterion) {
|
fn criterion_benchmark(c: &mut Criterion) {
|
||||||
fixture_init();
|
fixture_init();
|
||||||
|
|
||||||
for (streams, data_size) in [
|
for (streams, data_size) in [(1_000, 1), (1_000, 1_000)] {
|
||||||
(1, 1),
|
|
||||||
(1000, 1),
|
|
||||||
(10000, 1),
|
|
||||||
(1, 1000),
|
|
||||||
(100, 1000),
|
|
||||||
(1000, 1000),
|
|
||||||
] {
|
|
||||||
let mut group = c.benchmark_group(format!("{streams} streams of {data_size} bytes"));
|
let mut group = c.benchmark_group(format!("{streams} streams of {data_size} bytes"));
|
||||||
|
|
||||||
|
// High variance benchmark. Increase default sample size (100).
|
||||||
|
group.sample_size(500);
|
||||||
|
|
||||||
group.bench_function("multistream", |b| {
|
group.bench_function("multistream", |b| {
|
||||||
let data = vec![0; data_size];
|
let data = vec![0; data_size];
|
||||||
b.iter_batched_ref(
|
b.iter_batched_ref(
|
||||||
connect,
|
connect,
|
||||||
|(client, server)| use_streams(client, server, streams, &data),
|
|(client, server)| use_streams(client, server, streams, &data),
|
||||||
BatchSize::PerIteration,
|
BatchSize::SmallInput,
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
group.finish();
|
group.finish();
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"files":{"Cargo.toml":"62c9acbd08bb43060ac7243b0a6b88e1cf2c679a6fd36ed7aeb32a6d90b3b139","src/decoder.rs":"06dc4b0362ddf0a502ab7f3a8622aa213aaa6ca599990471f46c918778df69e6","src/decoder_instructions.rs":"0e6c2036372061b16f71b172e3b6f7796683c0992f5f6a39e6c4b37d9fff349a","src/encoder.rs":"22ac6cf0e6cbd9be5c7d09d4b73ac396bf7a9ac0e8a8f5137dcdafb0e004f85f","src/encoder_instructions.rs":"210442f053b317c14b8630c57e9c2f75f66e9ce3de79f5ff6cd5c6fcf1fea17a","src/header_block.rs":"4285d03556b6eba3a00715c9450b00af676a3ee5f3aa07a9f4e5e33944695ee3","src/huffman.rs":"4ffaf7766b7a9e1c01f094d48c447a75516ee7be91f2302327f7041d328a8c3f","src/huffman_decode_helper.rs":"c799b85c7738cdf6a1f6ea039062d2ea5ce0b4f08789d64e90a8712d57040d2b","src/huffman_table.rs":"5a5819dd2708f88240a2f825d86aa8b5f45c28d1427c0b8463831653e8eb3527","src/lib.rs":"1cde51b6c8c3c5a187f2393ad636e7e3919e10902c53bc9cc568bfe6c74a50c4","src/prefix.rs":"31bfb11d334a6df619bcc2720621e44a656be2514fad9033531a712d47dbe672","src/qlog.rs":"d8e8482624f0cc4388546169772846d37a0422ce10287ee2f716dfc5f7a56c3d","src/qpack_send_buf.rs":"cf10375c0bc5fb27d6faaf82df8607743bd62c5772d2cfb3779d801f4650e4f2","src/reader.rs":"5f0c2ab16bc804a892a7bd2310dfd6e614fd8ab2b4f552914fca6ad32b4fb006","src/static_table.rs":"6e5ec26e2b6bd63375d2d77e72748151d430d1629a8e497ec0d0ea21c078524a","src/stats.rs":"cb01723249f60e15a5cd7efd9cbab409fddc588d1df655ed06ba8c80e3d5d28e","src/table.rs":"f7c773dd3e086ead69ffffe9850e5c9b9b007c9fdd188022cdde7d08def248eb"},"package":null}
|
{"files":{"Cargo.toml":"7c7241b4fc7cd16200bf53b881509e7757c99d11a0508006eda1c8d52e13309a","src/decoder.rs":"06dc4b0362ddf0a502ab7f3a8622aa213aaa6ca599990471f46c918778df69e6","src/decoder_instructions.rs":"0e6c2036372061b16f71b172e3b6f7796683c0992f5f6a39e6c4b37d9fff349a","src/encoder.rs":"22ac6cf0e6cbd9be5c7d09d4b73ac396bf7a9ac0e8a8f5137dcdafb0e004f85f","src/encoder_instructions.rs":"210442f053b317c14b8630c57e9c2f75f66e9ce3de79f5ff6cd5c6fcf1fea17a","src/header_block.rs":"4285d03556b6eba3a00715c9450b00af676a3ee5f3aa07a9f4e5e33944695ee3","src/huffman.rs":"4ffaf7766b7a9e1c01f094d48c447a75516ee7be91f2302327f7041d328a8c3f","src/huffman_decode_helper.rs":"c799b85c7738cdf6a1f6ea039062d2ea5ce0b4f08789d64e90a8712d57040d2b","src/huffman_table.rs":"5a5819dd2708f88240a2f825d86aa8b5f45c28d1427c0b8463831653e8eb3527","src/lib.rs":"1cde51b6c8c3c5a187f2393ad636e7e3919e10902c53bc9cc568bfe6c74a50c4","src/prefix.rs":"31bfb11d334a6df619bcc2720621e44a656be2514fad9033531a712d47dbe672","src/qlog.rs":"d8e8482624f0cc4388546169772846d37a0422ce10287ee2f716dfc5f7a56c3d","src/qpack_send_buf.rs":"cf10375c0bc5fb27d6faaf82df8607743bd62c5772d2cfb3779d801f4650e4f2","src/reader.rs":"5f0c2ab16bc804a892a7bd2310dfd6e614fd8ab2b4f552914fca6ad32b4fb006","src/static_table.rs":"6e5ec26e2b6bd63375d2d77e72748151d430d1629a8e497ec0d0ea21c078524a","src/stats.rs":"cb01723249f60e15a5cd7efd9cbab409fddc588d1df655ed06ba8c80e3d5d28e","src/table.rs":"f7c773dd3e086ead69ffffe9850e5c9b9b007c9fdd188022cdde7d08def248eb"},"package":null}
|
||||||
2
third_party/rust/neqo-qpack/Cargo.toml
vendored
2
third_party/rust/neqo-qpack/Cargo.toml
vendored
@@ -13,7 +13,7 @@
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.82.0"
|
rust-version = "1.82.0"
|
||||||
name = "neqo-qpack"
|
name = "neqo-qpack"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
||||||
build = false
|
build = false
|
||||||
autolib = false
|
autolib = false
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
2
third_party/rust/neqo-transport/Cargo.toml
vendored
2
third_party/rust/neqo-transport/Cargo.toml
vendored
@@ -13,7 +13,7 @@
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.82.0"
|
rust-version = "1.82.0"
|
||||||
name = "neqo-transport"
|
name = "neqo-transport"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
autolib = false
|
autolib = false
|
||||||
|
|||||||
@@ -2562,15 +2562,16 @@ impl Connection {
|
|||||||
// contained in the coalesced packet. This is per Section 13.4.1 of
|
// contained in the coalesced packet. This is per Section 13.4.1 of
|
||||||
// RFC 9000.
|
// RFC 9000.
|
||||||
self.stats.borrow_mut().ecn_tx[pt] += IpTosEcn::from(*tos);
|
self.stats.borrow_mut().ecn_tx[pt] += IpTosEcn::from(*tos);
|
||||||
|
if space == PacketNumberSpace::Handshake {
|
||||||
if space == PacketNumberSpace::Handshake
|
if self.role == Role::Client {
|
||||||
&& self.role == Role::Server
|
// We're sending a Handshake packet, so we can discard Initial keys.
|
||||||
&& self.state == State::Confirmed
|
self.discard_keys(PacketNumberSpace::Initial, now);
|
||||||
{
|
} else if self.role == Role::Server && self.state == State::Confirmed {
|
||||||
// We could discard handshake keys in set_state,
|
// We could discard handshake keys in set_state,
|
||||||
// but wait until after sending an ACK.
|
// but wait until after sending an ACK.
|
||||||
self.discard_keys(PacketNumberSpace::Handshake, now);
|
self.discard_keys(PacketNumberSpace::Handshake, now);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// If the client has more CRYPTO data queued up, do not coalesce if
|
// If the client has more CRYPTO data queued up, do not coalesce if
|
||||||
// this packet is an Initial. Without this, 0-RTT packets could be
|
// this packet is an Initial. Without this, 0-RTT packets could be
|
||||||
@@ -2926,11 +2927,6 @@ impl Connection {
|
|||||||
self.set_initial_limits();
|
self.set_initial_limits();
|
||||||
}
|
}
|
||||||
if self.crypto.install_keys(self.role)? {
|
if self.crypto.install_keys(self.role)? {
|
||||||
if self.role == Role::Client {
|
|
||||||
// We won't acknowledge Initial packets as a result of this, but the
|
|
||||||
// server can rely on implicit acknowledgment.
|
|
||||||
self.discard_keys(PacketNumberSpace::Initial, now);
|
|
||||||
}
|
|
||||||
self.saved_datagrams.make_available(Epoch::Handshake);
|
self.saved_datagrams.make_available(Epoch::Handshake);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3230,8 +3226,9 @@ impl Connection {
|
|||||||
RecoveryToken::Datagram(dgram_tracker) => self
|
RecoveryToken::Datagram(dgram_tracker) => self
|
||||||
.events
|
.events
|
||||||
.datagram_outcome(dgram_tracker, OutgoingDatagramOutcome::Acked),
|
.datagram_outcome(dgram_tracker, OutgoingDatagramOutcome::Acked),
|
||||||
|
RecoveryToken::EcnEct0 => self.paths.acked_ecn(),
|
||||||
// We only worry when these are lost
|
// We only worry when these are lost
|
||||||
RecoveryToken::HandshakeDone | RecoveryToken::EcnEct0 => (),
|
RecoveryToken::HandshakeDone => (),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -637,8 +637,9 @@ fn reorder_1rtt() {
|
|||||||
now += RTT / 2;
|
now += RTT / 2;
|
||||||
let s2 = server.process(c2, now).dgram();
|
let s2 = server.process(c2, now).dgram();
|
||||||
// The server has now received those packets, and saved them.
|
// The server has now received those packets, and saved them.
|
||||||
// The two additional are a Handshake and a 1-RTT (w/ NEW_CONNECTION_ID).
|
// The two additional are an Initial w/ACK, a Handshake w/ACK and a 1-RTT (w/
|
||||||
assert_eq!(server.stats().packets_rx, PACKETS + 8);
|
// NEW_CONNECTION_ID).
|
||||||
|
assert_eq!(server.stats().packets_rx, PACKETS * 2 + 5);
|
||||||
assert_eq!(server.stats().saved_datagrams, PACKETS);
|
assert_eq!(server.stats().saved_datagrams, PACKETS);
|
||||||
assert_eq!(server.stats().dropped_rx, 3);
|
assert_eq!(server.stats().dropped_rx, 3);
|
||||||
assert_eq!(*server.state(), State::Confirmed);
|
assert_eq!(*server.state(), State::Confirmed);
|
||||||
@@ -868,9 +869,9 @@ fn anti_amplification() {
|
|||||||
let ack = client.process(Some(s_init3), now).dgram().unwrap();
|
let ack = client.process(Some(s_init3), now).dgram().unwrap();
|
||||||
assert!(!maybe_authenticate(&mut client)); // No need yet.
|
assert!(!maybe_authenticate(&mut client)); // No need yet.
|
||||||
|
|
||||||
// The client sends a padded datagram, with just ACK for Handshake.
|
// The client sends a padded datagram, with just ACKs for Initial and Handshake.
|
||||||
assert_eq!(client.stats().frame_tx.ack, ack_count + 1);
|
assert_eq!(client.stats().frame_tx.ack, ack_count + 2);
|
||||||
assert_eq!(client.stats().frame_tx.all(), frame_count + 1);
|
assert_eq!(client.stats().frame_tx.all(), frame_count + 2);
|
||||||
assert_ne!(ack.len(), client.plpmtu()); // Not padded (it includes Handshake).
|
assert_ne!(ack.len(), client.plpmtu()); // Not padded (it includes Handshake).
|
||||||
|
|
||||||
now += DEFAULT_RTT / 2;
|
now += DEFAULT_RTT / 2;
|
||||||
@@ -1140,25 +1141,24 @@ fn only_server_initial() {
|
|||||||
let (initial, handshake) = split_datagram(&server_dgram1.unwrap());
|
let (initial, handshake) = split_datagram(&server_dgram1.unwrap());
|
||||||
assert!(handshake.is_some());
|
assert!(handshake.is_some());
|
||||||
|
|
||||||
// The client will not acknowledge the Initial as it discards keys.
|
// The client sends an Initial ACK.
|
||||||
// It sends a Handshake probe instead, containing just a PING frame.
|
assert_eq!(client.stats().frame_tx.ack, 1);
|
||||||
assert_eq!(client.stats().frame_tx.ping, 0);
|
|
||||||
let probe = client.process(Some(initial), now).dgram();
|
let probe = client.process(Some(initial), now).dgram();
|
||||||
assertions::assert_handshake(&probe.unwrap());
|
assertions::assert_initial(&probe.unwrap(), false);
|
||||||
assert_eq!(client.stats().dropped_rx, 0);
|
assert_eq!(client.stats().dropped_rx, 0);
|
||||||
assert_eq!(client.stats().frame_tx.ping, 1);
|
assert_eq!(client.stats().frame_tx.ack, 2);
|
||||||
|
|
||||||
let (initial, handshake) = split_datagram(&server_dgram2.unwrap());
|
let (initial, handshake) = split_datagram(&server_dgram2.unwrap());
|
||||||
assert!(handshake.is_some());
|
assert!(handshake.is_some());
|
||||||
|
|
||||||
// The same happens after a PTO, even though the client will discard the Initial packet.
|
// The same happens after a PTO.
|
||||||
now += AT_LEAST_PTO;
|
now += AT_LEAST_PTO;
|
||||||
assert_eq!(client.stats().frame_tx.ping, 1);
|
assert_eq!(client.stats().frame_tx.ack, 2);
|
||||||
let discarded = client.stats().dropped_rx;
|
let discarded = client.stats().dropped_rx;
|
||||||
let probe = client.process(Some(initial), now).dgram();
|
let probe = client.process(Some(initial), now).dgram();
|
||||||
assertions::assert_handshake(&probe.unwrap());
|
assertions::assert_initial(&probe.unwrap(), false);
|
||||||
assert_eq!(client.stats().frame_tx.ping, 2);
|
assert_eq!(client.stats().frame_tx.ack, 3);
|
||||||
assert_eq!(client.stats().dropped_rx, discarded + 1);
|
assert_eq!(client.stats().dropped_rx, discarded);
|
||||||
|
|
||||||
// Pass the Handshake packet and complete the handshake.
|
// Pass the Handshake packet and complete the handshake.
|
||||||
client.process_input(handshake.unwrap(), now);
|
client.process_input(handshake.unwrap(), now);
|
||||||
@@ -1237,7 +1237,9 @@ fn implicit_rtt_server() {
|
|||||||
let dgram = server.process(dgram, now).dgram();
|
let dgram = server.process(dgram, now).dgram();
|
||||||
now += RTT / 2;
|
now += RTT / 2;
|
||||||
let dgram = client.process(dgram, now).dgram();
|
let dgram = client.process(dgram, now).dgram();
|
||||||
assertions::assert_handshake(dgram.as_ref().unwrap());
|
let (initial, handshake) = split_datagram(dgram.as_ref().unwrap());
|
||||||
|
assertions::assert_initial(&initial, false);
|
||||||
|
assertions::assert_handshake(handshake.as_ref().unwrap());
|
||||||
now += RTT / 2;
|
now += RTT / 2;
|
||||||
server.process_input(dgram.unwrap(), now);
|
server.process_input(dgram.unwrap(), now);
|
||||||
|
|
||||||
|
|||||||
@@ -235,7 +235,9 @@ fn pto_handshake_complete() {
|
|||||||
|
|
||||||
now += HALF_RTT;
|
now += HALF_RTT;
|
||||||
let pkt = client.process(pkt, now).dgram();
|
let pkt = client.process(pkt, now).dgram();
|
||||||
assert_handshake(pkt.as_ref().unwrap());
|
let (initial, handshake) = split_datagram(&pkt.clone().unwrap());
|
||||||
|
assert_initial(&initial, false);
|
||||||
|
assert_handshake(handshake.as_ref().unwrap());
|
||||||
|
|
||||||
let cb = client.process_output(now).callback();
|
let cb = client.process_output(now).callback();
|
||||||
// The client now has a single RTT estimate (20ms), so
|
// The client now has a single RTT estimate (20ms), so
|
||||||
|
|||||||
19
third_party/rust/neqo-transport/src/ecn.rs
vendored
19
third_party/rust/neqo-transport/src/ecn.rs
vendored
@@ -32,6 +32,7 @@ enum ValidationState {
|
|||||||
/// far on the path during the ECN validation.
|
/// far on the path during the ECN validation.
|
||||||
Testing {
|
Testing {
|
||||||
probes_sent: usize,
|
probes_sent: usize,
|
||||||
|
initial_probes_acked: usize,
|
||||||
initial_probes_lost: usize,
|
initial_probes_lost: usize,
|
||||||
},
|
},
|
||||||
/// The validation test has concluded but the path's ECN capability is not yet known.
|
/// The validation test has concluded but the path's ECN capability is not yet known.
|
||||||
@@ -46,6 +47,7 @@ impl Default for ValidationState {
|
|||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self::Testing {
|
Self::Testing {
|
||||||
probes_sent: 0,
|
probes_sent: 0,
|
||||||
|
initial_probes_acked: 0,
|
||||||
initial_probes_lost: 0,
|
initial_probes_lost: 0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -225,20 +227,33 @@ impl Info {
|
|||||||
&& (self.baseline - prev_baseline)[IpTosEcn::Ce] > 0
|
&& (self.baseline - prev_baseline)[IpTosEcn::Ce] > 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// An [`IpTosEcn::Ect0`] marked packet has been acked.
|
||||||
|
pub(crate) fn acked_ecn(&mut self) {
|
||||||
|
if let ValidationState::Testing {
|
||||||
|
initial_probes_acked: probes_acked,
|
||||||
|
..
|
||||||
|
} = &mut self.state
|
||||||
|
{
|
||||||
|
*probes_acked += 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// An [`IpTosEcn::Ect0`] marked packet has been declared lost.
|
||||||
pub(crate) fn lost_ecn(&mut self, pt: PacketType, stats: &mut Stats) {
|
pub(crate) fn lost_ecn(&mut self, pt: PacketType, stats: &mut Stats) {
|
||||||
if pt != PacketType::Initial {
|
if pt != PacketType::Initial {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if let ValidationState::Testing {
|
if let ValidationState::Testing {
|
||||||
probes_sent,
|
initial_probes_acked: probes_acked,
|
||||||
initial_probes_lost: probes_lost,
|
initial_probes_lost: probes_lost,
|
||||||
|
..
|
||||||
} = &mut self.state
|
} = &mut self.state
|
||||||
{
|
{
|
||||||
*probes_lost += 1;
|
*probes_lost += 1;
|
||||||
// If we have lost all initial probes a bunch of times, we can conclude that the path
|
// If we have lost all initial probes a bunch of times, we can conclude that the path
|
||||||
// is not ECN capable and likely drops all ECN marked packets.
|
// is not ECN capable and likely drops all ECN marked packets.
|
||||||
if *probes_sent == *probes_lost && *probes_lost == TEST_COUNT_INITIAL_PHASE {
|
if *probes_acked == 0 && *probes_lost == TEST_COUNT_INITIAL_PHASE {
|
||||||
qdebug!(
|
qdebug!(
|
||||||
"ECN validation failed, all {probes_lost} initial marked packets were lost"
|
"ECN validation failed, all {probes_lost} initial marked packets were lost"
|
||||||
);
|
);
|
||||||
|
|||||||
10
third_party/rust/neqo-transport/src/path.rs
vendored
10
third_party/rust/neqo-transport/src/path.rs
vendored
@@ -408,6 +408,12 @@ impl Paths {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn acked_ecn(&self) {
|
||||||
|
if let Some(path) = self.primary() {
|
||||||
|
path.borrow_mut().acked_ecn();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
pub fn lost_ecn(&self, pt: PacketType, stats: &mut Stats) {
|
pub fn lost_ecn(&self, pt: PacketType, stats: &mut Stats) {
|
||||||
if let Some(path) = self.primary() {
|
if let Some(path) = self.primary() {
|
||||||
path.borrow_mut().lost_ecn(pt, stats);
|
path.borrow_mut().lost_ecn(pt, stats);
|
||||||
@@ -826,6 +832,10 @@ impl Path {
|
|||||||
self.rtt.frame_lost(lost);
|
self.rtt.frame_lost(lost);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn acked_ecn(&mut self) {
|
||||||
|
self.ecn_info.acked_ecn();
|
||||||
|
}
|
||||||
|
|
||||||
pub fn lost_ecn(&mut self, pt: PacketType, stats: &mut Stats) {
|
pub fn lost_ecn(&mut self, pt: PacketType, stats: &mut Stats) {
|
||||||
self.ecn_info.lost_ecn(pt, stats);
|
self.ecn_info.lost_ecn(pt, stats);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"files":{"Cargo.toml":"93cb9b3a8ab80edb96fccf123ea23152195e75dc21b97b0f5f1acbd99c9a3329","build.rs":"bf57cd35a78f636c14c442c1926abc2deca3d137e9d207e4f2f960f5b8363b07","src/lib.rs":"c105b1f1e3e95d92fd9d174883111879e0cadd5d1e5dd8e9889452f81b9e1365"},"package":null}
|
{"files":{"Cargo.toml":"c92b2e452433c61a7dda189b41c68ea5296aa651d5e6ac93537d0274a410362b","build.rs":"bf57cd35a78f636c14c442c1926abc2deca3d137e9d207e4f2f960f5b8363b07","src/lib.rs":"c105b1f1e3e95d92fd9d174883111879e0cadd5d1e5dd8e9889452f81b9e1365"},"package":null}
|
||||||
2
third_party/rust/neqo-udp/Cargo.toml
vendored
2
third_party/rust/neqo-udp/Cargo.toml
vendored
@@ -13,7 +13,7 @@
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.82.0"
|
rust-version = "1.82.0"
|
||||||
name = "neqo-udp"
|
name = "neqo-udp"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
autolib = false
|
autolib = false
|
||||||
|
|||||||
Reference in New Issue
Block a user