perf(headers): switch from fmt to itoa when writing content-length header

This commit is contained in:
Sean McArthur
2018-06-20 17:19:37 -07:00
parent 7d8897537b
commit ac1af8d15b
4 changed files with 46 additions and 7 deletions

View File

@@ -21,6 +21,7 @@ extern crate h2;
extern crate http;
extern crate httparse;
extern crate iovec;
extern crate itoa;
#[macro_use] extern crate log;
#[cfg(feature = "runtime")] extern crate net2;
extern crate time;