Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
H2 client should send
ENABLE_PUSH=false
setting for new connections (…
…#940) Motivation: To notify server-side that ST client currently does not support server push, client should send `ENABLE_PUSH=false` setting when it connects to the server. If server sends a `PUSH_PROMISE` frame, client should send `GO_AWAY` before closing the connection. Modifications: - Add `ENABLE_PUSH=false` and `MAX_CONCURRENT_STREAMS=0` to the set of initial h2 settings; - Send `GO_AWAY` frame with `PROTOCOL_ERROR` if client receives a `PUSH_PROMISE` frame from server; Result: H2 client notifies server that it does not support server push and sends `GO_AWAY` frame before closing the connection, if server sends a push.
- Loading branch information