akka/akka-http

HTTP2: Respect SETTINGS_ENABLE_PUSH

Aperta

#775 aperta il 16 gen 2017

 (2 commenti) (0 reazioni) (0 assegnatari)Scala (598 fork)batch import
1 - triagedhelp wantedt:http2

Metriche repository

Star
 (1311 stelle)
Metriche merge PR
 (Merge medio 1g 10h) (2 PR mergiate in 30 g)

Descrizione

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.

Guida contributor