akka / akka/akka-http

HTTP2: Respect SETTINGS_ENABLE_PUSH

Open
#775 2 comments 0 reactions 0 assignees View on GitHub
1 - triaged help wanted t:http2
Dominant language
Scala
Stars
1.4k
Forks
584
Avg merge
14h 33m
Merged PRs (30d)
24

Description

SETTINGS_ENABLE_PUSH (0x2):
This setting can be used to disable server push (Section 8.2).
- An endpoint MUST NOT send a PUSH_PROMISE frame if it receives this parameter set to a value of 0.
- (client) An endpoint that has both set this parameter to 0 and had it acknowledged MUST treat the receipt of a PUSH_PROMISE frame as a connection error (Section 5.4.1) of type PROTOCOL_ERROR.

The initial value is 1, which indicates that server push is permitted. Any value other than 0 or 1 MUST be treated as a connection error (Section 5.4.1) of type PROTOCOL_ERROR.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the HTTP/2 SETTINGS handling and PUSH_PROMISE processing in the repository, then compare the behavior with the requirements quoted in the issue. Done means values other than 0 or 1 produce PROTOCOL_ERROR, push is disabled after an acknowledged 0, and the initial value permits server push.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.