Handle padding & stream priority when parsing headers frame

This commit is contained in:
Carl Lerche
2017-08-10 13:55:36 -07:00
parent e7c07b0b12
commit 50e0ad2f2a
4 changed files with 54 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ impl GoAway {
unimplemented!();
}
let last_stream_id = StreamId::parse(&payload[..4]);
let (last_stream_id, _) = StreamId::parse(&payload[..4]);
let error_code = unpack_octets_4!(payload, 4, u32);
Ok(GoAway {