Skip to content

Feature Request: 建议增加强制使用 HTTP/1.1 的配置选项 (解决 http2 timeout 报错) #112

@RuiZhang-cn

Description

@RuiZhang-cn

问题描述

在网络环境不稳定的情况下,频繁遇到 HTTP/2 头部等待超时错误,导致请求失败并触发重试。
错误日志
20260319 11:09:44 ❌ ERROR [x] Request failed: Post "x": http2: timeout awaiting response headers
20260319 11:09:44 ⚠️ WARN [x] Transient network error, retrying same endpoint: Post "x?beta=true": http2: timeout awaiting response headers

复现环境

操作系统: (Windows 11)

网络环境: (V2Ray )

软件版本: (5.2.0)

诉求

由于 HTTP/2 对网络质量要求较高,在代理环境下容易断流。希望能提供一个配置项(如配置文件中的 force_http1: true 或环境变量),允许用户强制程序降级使用 HTTP/1.1 以提高稳定性。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions