From 2cd662ac6f317b93015b2982d4532fa1fbedf652 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Sun, 28 Feb 2021 20:11:27 +0600 Subject: [PATCH] buf size --- ntex/src/framed/read.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntex/src/framed/read.rs b/ntex/src/framed/read.rs index cc7fd824..101c3637 100644 --- a/ntex/src/framed/read.rs +++ b/ntex/src/framed/read.rs @@ -8,7 +8,7 @@ use crate::codec::{AsyncRead, AsyncWrite}; use crate::framed::State; const LW: usize = 1024; -const HW: usize = 8 * 1024; +const HW: usize = 128 * 1024; /// Read io task pub struct ReadTask