Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are two bugs fixed here, firslty negative flow control values are truthy (only 0 is False), and whilst negative flow control values are possible only positive ones should allow data to be sent. Secondly if the INITIAL_WINDOW_SIZE setting is changed (after the headers have been sent) h2 does not emit a WindowUpdated event (see python-hyper/h2#1193) yet the window should be updated. This should fix the intermittent (race-condition) errors with h2spec and the Trio worker.
- Loading branch information