This commit is contained in:
MeexReay 2025-01-19 11:47:34 +03:00
parent c8a96f2616
commit 9689d2815c
11 changed files with 3 additions and 5 deletions

6
Cargo.toml Normal file → Executable file
View File

@ -5,15 +5,15 @@ edition = "2021"
[dependencies]
openssl = { version = "0.10.68", optional = true }
rustls = { version = "0.23.17", optional = true }
rustls = { version = "0.23.21", optional = true }
rustls-pemfile = { version = "2.2.0", optional = true }
serde_yml = "0.0.12"
log = "0.4.22"
log = "0.4.25"
colog = "1.3.0"
threadpool = "1.8.1"
wildcard_ex = "0.1.2"
websocket = "0.27.1"
serde_json = "1.0.133"
serde_json = "1.0.136"
[features]
default = ["use-openssl"]

0
README.md Normal file → Executable file
View File

0
conf.yml Normal file → Executable file
View File

0
src/flowgate.rs Normal file → Executable file
View File

0
src/flowgate/closeable.rs Normal file → Executable file
View File

0
src/flowgate/config.rs Normal file → Executable file
View File

2
src/flowgate/server.rs Normal file → Executable file
View File

@ -507,8 +507,6 @@ impl FlowgateServer {
.map(|o| o.contains(&"chunked".to_string()))
.unwrap_or(false);
println!("{content_length} {is_chunked}");
if content_length > 0 {
let mut read = 0usize;
let mut buf = vec![0; 4096];

0
src/flowgate/ssl_cert.rs Normal file → Executable file
View File

0
src/flowgate/websocket.rs Normal file → Executable file
View File

0
src/lib.rs Normal file → Executable file
View File

0
src/main.rs Normal file → Executable file
View File