Add GoAway support
This commit is contained in:
@@ -48,7 +48,7 @@ impl WindowUpdate {
|
||||
|
||||
pub fn encode<B: BufMut>(&self, dst: &mut B) {
|
||||
trace!("encoding WINDOW_UPDATE; id={:?}", self.stream_id);
|
||||
let head = Head::new(Kind::Ping, 0, self.stream_id);
|
||||
let head = Head::new(Kind::WindowUpdate, 0, self.stream_id);
|
||||
head.encode(4, dst);
|
||||
dst.put_u32::<BigEndian>(self.size_increment);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user