akka/akka-http

HTTP2: Respect SETTINGS_ENABLE_PUSH

オープン

#775 opened on 2017/01/16

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Scala (598 件のフォーク)batch import
1 - triagedhelp wantedt:http2

Repository metrics

Stars
 (1,311 個のスター)
PR merge metrics
 (平均マージ 1d 10h) (30d で 2 merged PRs)

説明

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.

コントリビューターガイド