remove erroneous assert when stream has buffered send data (#209)

This commit is contained in:
Sean McArthur
2018-01-02 12:49:41 -08:00
committed by GitHub
parent ecf2e425b4
commit 26e7a2d416
2 changed files with 46 additions and 2 deletions

View File

@@ -370,8 +370,6 @@ impl Prioritize {
// If data is buffered, then schedule the stream for execution
if stream.buffered_send_data > 0 {
debug_assert!(stream.send_flow.available() > 0);
// TODO: This assertion isn't *exactly* correct. There can still be
// buffered send data while the stream's pending send queue is
// empty. This can happen when a large data frame is in the process