Disable resumption
This commit is contained in:
parent
c053e4ada3
commit
2a8aba6346
8 changed files with 27 additions and 21 deletions
|
|
@ -14,9 +14,9 @@ publish.workspace = true
|
|||
|
||||
[features]
|
||||
default = [
|
||||
"provider-ring",
|
||||
"provider-openssl",
|
||||
# "http3-quinn",
|
||||
"cache",
|
||||
# "cache",
|
||||
"rustls-backend",
|
||||
"sticky-cookie",
|
||||
# "acme",
|
||||
|
|
@ -86,3 +86,6 @@ rpxy-certs = { path = "../rpxy-certs/", default-features = false, features = [
|
|||
rpxy-acme = { path = "../rpxy-acme/", default-features = false, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
[patch.crates-io]
|
||||
rustls = { path = "../rustls" }
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ fn init_file_logger(level: tracing::Level, log_dir_path: &str) {
|
|||
.with_writer(system_log)
|
||||
.with_filter(filter_fn(move |metadata| {
|
||||
(is_cargo_pkg(metadata) && metadata.name() != log_event_names::ACCESS_LOG && metadata.level() <= &level)
|
||||
|| metadata.level() <= &tracing::Level::WARN.min(level)
|
||||
|| metadata.level() <= &tracing::Level::WARN.max(level)
|
||||
}));
|
||||
|
||||
tracing_subscriber::registry().with(access_layer).with(system_layer).init();
|
||||
|
|
|
|||
|
|
@ -27,9 +27,7 @@ fn main() {
|
|||
|
||||
runtime.block_on(async {
|
||||
// Initially load options
|
||||
let Ok(parsed_opts) = parse_opts() else {
|
||||
std::process::exit(1);
|
||||
};
|
||||
let parsed_opts = parse_opts().unwrap();
|
||||
|
||||
init_logger(parsed_opts.log_dir_path.as_deref());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue