Files
swift-nio-http2/Sources/NIOHTTP2/ConnectionStateMachine/FrameReceivingStates
Cory BenfieldandGeorge Barnett 50c25c132b Clients can't push! (#332)
Motivation:

Nowhere in the PUSH_PROMISE code do we explicitly check whether or not
we're a client or a server, and we don't provide special handling for
SETTINGS_ENABLE_PUSH contingent on that fact. As a result, we do
technically allow clients to push. This eventually gets caught, but not
until we've created an idle stream, which we shouldn't do.

Modifications:

- Forbid clients from pushing.

Result:

Clients won't be allowed to push.

Co-authored-by: George Barnett <gbarnett@apple.com>
2022-03-17 10:43:11 -07:00
..