Akamai request kind of works

This commit is contained in:
Carl Lerche
2017-08-08 09:47:29 -07:00
parent 441a8416c6
commit fa66323cec
10 changed files with 79 additions and 33 deletions

View File

@@ -155,7 +155,7 @@ impl<T, P, B> Connection<T, P, B>
*/
}
Some(PushPromise(frame)) => {
unimplemented!();
// TODO: implement
/*
trace!("recv PUSH_PROMISE; frame={:?}", frame);
try!(self.streams.recv_push_promise(frame));

View File

@@ -92,7 +92,9 @@ impl<T> FramedRead<T> {
let _todo = try!(frame::GoAway::load(&bytes[frame::HEADER_LEN..]));
unimplemented!();
}
Kind::PushPromise |
Kind::PushPromise => {
frame::PushPromise::load(head, &bytes[frame::HEADER_LEN..])?.into()
}
Kind::Priority |
Kind::Continuation |
Kind::Unknown => {