[feature request] Add h2c to XHTTP.

Open
#5,093 13 comments 4 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go
Domain
networking

Research direction

The issue names XHTTP, h2c, VLESS encryption, header padding, and xmux, but no files, tests, or entry points. Start by reviewing the existing XHTTP and related transport implementations, then clarify the design and required VLESS-encryption behavior with the maintainers. Done would require an agreed implementation scope and corresponding validation for h2c in XHTTP.

Written by the indexing model from the issue text.

Description

enhancement

Hi.
Thanks for publishing vless encryption for strong data encryption even in non-TLS mode.

I think now is a good time to build and add h2c to XHTTP, but there should be a requirement for vless encryption to be enabled in this mode. The reason and argument for using h2c in XHTTP compared to other transport layers like ws/hu/grpc, is the existence of header padding, as well as the nature of http itself and the use of xmux in h2c can be very good points even in non-TLS mode (I emphasize again, provided that vless encryption is enabled).

I would be happy to hear xray team and people' opinions.

Dominant language
Go
Stars
43.3k
Forks
6.2k
Avg merge
2d 11h
Merged PRs (30d)
55

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from XTLS/Xray-core

All issues in XTLS/Xray-core

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.