deps and config example
This commit is contained in:
parent
d9f5b60551
commit
3b0ae8c282
2 changed files with 7 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ http3 = ["quinn", "h3", "h3-quinn"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
env_logger = "0.10.0"
|
env_logger = "0.10.0"
|
||||||
anyhow = "1.0.68"
|
anyhow = "1.0.68"
|
||||||
clap = { version = "4.1.3", features = ["std", "cargo", "wrap_help"] }
|
clap = { version = "4.1.4", features = ["std", "cargo", "wrap_help"] }
|
||||||
futures = { version = "0.3.25", features = ["alloc", "async-await"] }
|
futures = { version = "0.3.25", features = ["alloc", "async-await"] }
|
||||||
hyper = { version = "0.14.23", default-features = false, features = [
|
hyper = { version = "0.14.23", default-features = false, features = [
|
||||||
"server",
|
"server",
|
||||||
|
|
|
||||||
|
|
@ -85,9 +85,13 @@ reverse_proxy = [{ upstream = [{ location = 'www.google.com', tls = true }] }]
|
||||||
# Experimantal settings #
|
# Experimantal settings #
|
||||||
###################################
|
###################################
|
||||||
[experimental]
|
[experimental]
|
||||||
ignore_sni_consistency = false # Higly recommend not to be true. If true, you ignore RFC. if not specified, it is always false.
|
# Higly recommend not to be true. If true, you ignore RFC. if not specified, it is always false.
|
||||||
|
# This might be required to be true when a certificate is used by multiple backend hosts, especially in case where a TLS connection is re-used.
|
||||||
|
# We should note that this strongly depends on the client implementation.
|
||||||
|
ignore_sni_consistency = false
|
||||||
|
|
||||||
[experimental.h3] # If this specified, h3 is enabled
|
# If this specified, h3 is enabled
|
||||||
|
[experimental.h3]
|
||||||
alt_svc_max_age = 3600 # sec
|
alt_svc_max_age = 3600 # sec
|
||||||
request_max_body_size = 65536 # bytes
|
request_max_body_size = 65536 # bytes
|
||||||
max_concurrent_connections = 10000
|
max_concurrent_connections = 10000
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue