wip: improve split stream tracking

This commit is contained in:
Oliver Gould
2017-07-21 01:30:39 +00:00
parent 44edd6a4d4
commit 8453435422
10 changed files with 408 additions and 222 deletions

View File

@@ -85,7 +85,7 @@ pub enum User {
StreamReset(Reason),
/// The application attempted to initiate too many streams to remote.
MaxConcurrencyExceeded,
Rejected,
// TODO: reserve additional variants
}
@@ -127,7 +127,7 @@ macro_rules! user_desc {
FlowControlViolation => concat!($prefix, "flow control violation"),
StreamReset(_) => concat!($prefix, "frame sent on reset stream"),
Corrupt => concat!($prefix, "connection state corrupt"),
MaxConcurrencyExceeded => concat!($prefix, "stream would exceed remote max concurrency"),
Rejected => concat!($prefix, "stream would exceed remote max concurrency"),
}
});
}