Skip to content

Commit 47c08cd

Browse files
committed
wip
1 parent 999a616 commit 47c08cd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

frameworks/Rust/ntex/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ neon = ["ntex/neon"]
6767
neon-uring = ["ntex/neon-uring"]
6868

6969
[dependencies]
70-
ntex = "3.0.0-pre.3"
70+
ntex = "3.0.0-pre.4"
7171
ntex-neon = "0.1.35"
7272
ntex-net = "3.0.0-pre.3"
7373
ntex-bytes = { version = "1", features=["simd"] }

frameworks/Rust/ntex/src/utils.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ pub fn config() -> SharedCfg {
2626
)
2727
.add(
2828
HttpServiceConfig::new()
29-
.keepalive(KeepAlive::Os)
30-
.client_timeout(Seconds::ZERO)
31-
.headers_read_rate(Seconds::ZERO, Seconds::ZERO, 0)
32-
.payload_read_rate(Seconds::ZERO, Seconds::ZERO, 0),
29+
.set_keepalive(KeepAlive::Os)
30+
.set_client_timeout(Seconds::ZERO)
31+
.set_headers_read_rate(Seconds::ZERO, Seconds::ZERO, 0)
32+
.set_payload_read_rate(Seconds::ZERO, Seconds::ZERO, 0),
3333
).into();
3434
}
3535
CFG.with(|cfg| *cfg)

0 commit comments

Comments
 (0)