From 172a072c368a6e9ada4bc21b3b890faf880b5a80 Mon Sep 17 00:00:00 2001 From: ari melody Date: Wed, 5 Nov 2025 20:04:31 +0000 Subject: [PATCH 1/2] add enforce secure chat to cli response --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.rs b/src/main.rs index 2dcd39d..d6299b1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -52,6 +52,10 @@ env!("CARGO_PKG_VERSION")); println!("Version: {} ({})", status.version.name, status.version.protocol); println!("Players: {}/{}", status.players.online, status.players.max); + println!( + "Enforces Secure Chat: {}", + if status.enforces_secure_chat() { "true" } else { "false" }, + ); println!("MOTD:"); println!("{}", status.parse_description()); From f64882b091c3735af21dab34f3489bf9f9fd0208 Mon Sep 17 00:00:00 2001 From: ari melody Date: Wed, 5 Nov 2025 20:06:59 +0000 Subject: [PATCH 2/2] reduce http workers to 16 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index d6299b1..46ba212 100644 --- a/src/main.rs +++ b/src/main.rs @@ -79,7 +79,7 @@ env!("CARGO_PKG_VERSION")); } }; - HttpServer::new(address, 64, trusted_proxies).start(|request, mut response| { + HttpServer::new(address, 16, trusted_proxies).start(|request, mut response| { response.status(StatusCode::OK); response.set_header("Content-Type", "text/plain".to_string()); response.set_header("x-powered-by", "GIRL FUEL".to_string());