tengine icon indicating copy to clipboard operation
tengine copied to clipboard

客户端使用协议http2的情况下,server_tag 指令失效

Open leim opened this issue 6 months ago • 1 comments

Ⅰ. Issue Description

客户端使用协议http2的情况下,server_tag 指令失效

Ⅱ. Describe what happened

客户端使用协议http2的情况下,server_tag 指令失效

Ⅲ. Describe what you expected to happen

客户端使用协议http2的情况下,服务器根据server_tag的配置返回server字段

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  1. 配置ssl,启用http2, 配置server_tag off 。
  2. 浏览器访问ssl接口,查看返回的server字段
  3. server字段仍然返回

Image

Ⅴ. Anything else we need to know?

  1. If applicable, add nginx debug log doc.

Ⅵ. Environment:

  • Tengine version (use sbin/nginx -V): Tengine version: Tengine/3.1.0 nginx version: nginx/1.24.0 built by gcc 13.2.1 20231014 (Alpine 13.2.1_git20231014)
  • OS (e.g. from /etc/os-release): Alpine Linux v3.19
  • Kernel (e.g. uname -a):
  • Others:

leim avatar Jul 02 '25 02:07 leim

已知 长亭 雷池WAF 也因为这个"bug",有同样的问题。(有几年了,看到也同步反馈下)

salmon5 avatar Aug 06 '25 04:08 salmon5