python-hyper / hyper

HTTP/2 for Python.
http://hyper.rtfd.org/en/latest/
MIT License
1.05k stars 192 forks source link

Add ENABLE_PUSH flag in the Upgrade HTTP2-Settings header #311

Closed hkwi closed 7 years ago

hkwi commented 7 years ago

Push flag required for the case the initial upgrade request triggered server push. This PR is a relaxed version of #310 , which was more strict on server push I/O timing. Test send/recv timing was fixed, because connection state machine does not get corrupted during h2c upgrade migration.