v24.11.11

XTLS/Xray-corev24.11.11Nov 11, 2024by RPRX

AI Summary

Added 'stream-up' mode to replace H2/gRPC over REALITY.

Key Highlights

  • Added 'stream-up' mode for XHTTP to replace H2/gRPC over REALITY.
  • Added 'extra' config field for sharing extra fields.
  • Added Kyber768 support to TLS.

New Features

  • XHTTP stream-up mode
  • Extra config field
  • Kyber768 support

Full Release Notes

##  XHTTP: Add "stream-up" mode for client & server #3994

正如 [v24.10.31](https://github.com/XTLS/Xray-core/releases/tag/v24.10.31) 所预告的,这个版本带来了对”合并 HTTP 传输层“的完美替代品:**流式上行 stream-up 模式,详见 #3994**

**XHTTP stream-up 模式旨在取代现有的 H2 / gRPC over REALITY,XHTTP 有 header padding、XMUX,表现会更好**

注意:客户端 REALITY XHTTP 已改为默认使用 stream-up 模式,**所以服务端需要及时升级**

总之,现在正式建议现有的 H2、gRPC 均迁移至 XHTTP,~~并玩一玩上下行分离~~,尤其是 H2,它仍有可能被移除

**XHTTP 众多参数的分享也有了解决方案,详见 #4000(GUI 可以正式将 SplitHTTP 更名为 XHTTP)**

别忘了支持一下 Project X NFT:[Announcement of NFTs by Project X #3633](https://github.com/XTLS/Xray-core/discussions/3633)

## What's Changed
* Chore: Fix some spelling errors by @zonescape in https://github.com/XTLS/Xray-core/pull/3976
* XHTTP client: Allow different paths in U-D-S by @RPRX in https://github.com/XTLS/Xray-core/pull/3977
* Chore: Fix some comments by @zonescape in https://github.com/XTLS/Xray-core/pull/3979
* XHTTP: Add "stream-up" mode for client & server by @RPRX in https://github.com/XTLS/Xray-core/pull/3994
* Chore: Run gofmt by @zonescape in https://github.com/XTLS/Xray-core/pull/3990
* XHTTP config: Add "extra" for sharing extra fields by @RPRX in https://github.com/XTLS/Xray-core/pull/4000
* Chore: Fix versions in some *.pb.go files by @RPRX in https://github.com/XTLS/Xray-core/commit/480748403a9fa766a7003dd29fcbb281f133805c
* Sniff: Prevent crash on QUIC sniffer panic by @Fangliding @RPRX in https://github.com/XTLS/Xray-core/pull/3978
* TLS: Add CurvePreferences (to enable kyber768) by @Fangliding @RPRX in https://github.com/XTLS/Xray-core/pull/3991

以及升级一些依赖,使用 Go 1.23.3 进行编译。

## New Contributors
* @zonescape made their first contribution in https://github.com/XTLS/Xray-core/pull/3976

**Full Changelog**: https://github.com/XTLS/Xray-core/compare/v24.11.5...v24.11.11