fix(http1): fix http1_header_read_timeout to use same future (#2891)
Co-authored-by: silence <xxx@email.com>
This commit is contained in:
@@ -79,7 +79,7 @@ where
|
||||
if !*ctx.h1_header_read_timeout_running {
|
||||
if let Some(h1_header_read_timeout) = ctx.h1_header_read_timeout {
|
||||
let deadline = Instant::now() + h1_header_read_timeout;
|
||||
|
||||
*ctx.h1_header_read_timeout_running = true;
|
||||
match ctx.h1_header_read_timeout_fut {
|
||||
Some(h1_header_read_timeout_fut) => {
|
||||
debug!("resetting h1 header read timeout timer");
|
||||
|
||||
Reference in New Issue
Block a user