refactor(h1): add spans for parse_headers and encode_headers (#2262)

This commit is contained in:
Sean McArthur
2020-08-05 13:52:52 -07:00
committed by GitHub
parent 6e7e4e2cd5
commit 3de81c822e
3 changed files with 40 additions and 8 deletions

View File

@@ -149,7 +149,7 @@ where
S: Http1Transaction,
{
loop {
match S::parse(
match super::role::parse_headers::<S>(
&mut self.read_buf,
ParseContext {
cached_headers: parse_ctx.cached_headers,