chponk
This commit is contained in:
parent
c8a96f2616
commit
9689d2815c
6
Cargo.toml
Normal file → Executable file
6
Cargo.toml
Normal file → Executable 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
src/flowgate.rs
Normal file → Executable file
0
src/flowgate.rs
Normal file → Executable file
0
src/flowgate/closeable.rs
Normal file → Executable file
0
src/flowgate/closeable.rs
Normal file → Executable file
0
src/flowgate/config.rs
Normal file → Executable file
0
src/flowgate/config.rs
Normal file → Executable file
2
src/flowgate/server.rs
Normal file → Executable file
2
src/flowgate/server.rs
Normal file → Executable 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
0
src/flowgate/ssl_cert.rs
Normal file → Executable file
0
src/flowgate/websocket.rs
Normal file → Executable file
0
src/flowgate/websocket.rs
Normal file → Executable file
0
src/lib.rs
Normal file → Executable file
0
src/lib.rs
Normal file → Executable file
0
src/main.rs
Normal file → Executable file
0
src/main.rs
Normal file → Executable file
Loading…
Reference in New Issue
Block a user