akka/akka-http

HTTP2: Respect SETTINGS_ENABLE_PUSH

开放

#775 创建于 2017年1月16日

 (2 条评论) (0 个反应) (0 位负责人)Scala (598 个派生)batch import
1 - triagedhelp wantedt:http2

仓库指标

星标
 (1,311 个星标)
PR 合并指标
 (平均合并 1天 10小时) (30 天内合并 2 个 PR)

描述

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.

贡献者指南