From 29c3e8f7ea25520533d5005c024021687e1a7db6 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Mon, 12 Mar 2018 10:19:09 -0700 Subject: [PATCH] update test --- src/server/h1.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/h1.rs b/src/server/h1.rs index e5cb0469..1eb2e525 100644 --- a/src/server/h1.rs +++ b/src/server/h1.rs @@ -1396,6 +1396,7 @@ mod tests { let mut reader = Reader::new(); let mut req = reader_parse_ready!(reader.parse(&mut buf, &mut readbuf, &settings)); + let _ = req.payload_mut().set_read_buffer_capacity(0); assert!(req.chunked().unwrap()); assert!(!req.payload().eof());