perf(http): utilize writev when possible

By using `AsyncWrite::write_buf`, we can avoid some copies in some
cases. This especially helps throughput for chunked encoding.
This commit is contained in:
Sean McArthur
2018-01-25 12:45:55 -08:00
parent 11b49c2cc8
commit 68377ede70
10 changed files with 679 additions and 500 deletions

View File

@@ -1,5 +1,5 @@
pub use self::decode::Decoder;
pub use self::encode::Encoder;
pub use self::encode::{EncodedBuf, Encoder};
mod date;
mod decode;