Skip to content

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

@leim

Description

@leim

Ⅰ. 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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions