perf(h1): reduce clock checks for date rendering when pipelined

This commit is contained in:
Sean McArthur
2018-05-30 14:22:08 -07:00
parent ba9b1eaf82
commit 1b5fb3cc5e
4 changed files with 32 additions and 39 deletions

View File

@@ -36,6 +36,8 @@ pub(crate) trait Http1Transaction {
fn should_error_on_parse_eof() -> bool;
fn should_read_first() -> bool;
fn update_date() {}
}
pub(crate) type ParseResult<T> = Result<Option<ParsedMessage<T>>, ::error::Parse>;