Skip to content

Request for TCP socket option TCP_NOTSENT_LOWAT #3516

@galaxyport

Description

@galaxyport

Integrity requirements

  • I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
  • I provided the complete config and logs, rather than just providing the truncated parts based on my own judgment.
  • I searched issues and did not find any similar issues.

Version

latest

Description

Based on the article written at https://blog.cloudflare.com/http-2-prioritization-with-nginx, this TCP option on the server can reduce bufferbloat in HTTP/2 and gRPC, enabling a more responsive connection. However, when this option is enabled on the server, it only affects the user's downlink.

By adding this socket option to Xray, we can also benefit from its advantages on the uplink side.

Reproduction Method

REQUEST OPTION

Client config

Details

Server config

Details

Client log

Details

Server log

Details

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