Restructure proto

The existing code has been moved out and is being copied back piece / by
piece while restructuring the code to (hopefully) be more manageable.
This commit is contained in:
Carl Lerche
2017-08-02 09:42:10 -07:00
committed by GitHub
parent 13d6866ee8
commit 33bdc057d6
36 changed files with 1495 additions and 2964 deletions

View File

@@ -235,7 +235,7 @@ fn send_data_after_headers_eos() {
// Send the data
let err = h2.send_data(id, body.into(), true).wait().unwrap_err();
assert_user_err!(err, InactiveStreamId);
assert_user_err!(err, UnexpectedFrameType);
}
#[test]
@@ -250,7 +250,7 @@ fn send_data_without_headers() {
let b = Bytes::from_static(b"hello world");
let err = h2.send_data(1.into(), b, true).wait().unwrap_err();
assert_user_err!(err, InactiveStreamId);
assert_user_err!(err, UnexpectedFrameType);
}
#[test]