Skip to content

Commit 4b6cef5

Browse files
committed
use 128 bytes
1 parent 32b8bea commit 4b6cef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/encode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl Encoder {
6060
}
6161

6262
fn compute_head(&mut self) -> io::Result<Cursor<Vec<u8>>> {
63-
let mut buf = Vec::with_capacity(100);
63+
let mut buf = Vec::with_capacity(128);
6464
let url = self.request.url();
6565
let method = self.request.method();
6666
write!(buf, "{} ", method)?;

0 commit comments

Comments
 (0)