v24.11.21

XTLS/Xray-corev24.11.21Nov 21, 2024by RPRX

AI Summary

Added gRPC header to stream-up mode and fixed packet-up upload issues.

Key Highlights

  • Added gRPC header to stream-up mode (works with CF H2).
  • Auto-switch to stream-up for REALITY clients.
  • Fixed upload interruption issues in packet-up mode.

New Features

  • gRPC header in stream-up
  • Auto-stream-up for REALITY
  • Packet-up upload fix

Full Release Notes

## XHTTP client: Add gRPC header to "stream-up" mode by default #4042

这个版本为 stream-up 模式的上行 POST 请求默认加上了 gRPC 标头,**经测试 CF H2 支持它,详见 #4042**

**所以,顺便把客户端 auto 的行为改为了 TLS H2 或 REALITY 时默认 stream-up,请尽快适配**

这个版本还修好了 packet-up 模式的上行遗留问题,上行测速再也不会断了

**蓦然回首,XHTTP 已经成为了很多场景下,尤其是穿透 CDN 时的最佳选择,Make Xray Great Again!**

**~~这次有没有又开启了一个崭新的时代不重要~~,支持一下 Project X NFT 非常重要:[Announcement of NFTs by Project X #3633](https://github.com/XTLS/Xray-core/discussions/3633)**

## What's Changed
* Test: Change address for DNS over QUIC tests by @zonescape in https://github.com/XTLS/Xray-core/pull/4002
* REALITY client: Log invalid connections at warning level by @RPRX in https://github.com/XTLS/Xray-core/commit/1a238cbb7d213433942dcc6268274e0638805e23
* Update Dockerfile to Use Multiple Config Files by @lxsq in https://github.com/XTLS/Xray-core/pull/4010
* Chore: Use a more direct and less error-prone return value by @pinglanlu in https://github.com/XTLS/Xray-core/pull/4008
* Chore: Drop dead code in test by @zonescape in https://github.com/XTLS/Xray-core/pull/4012
* WireGuard kernelTun: Fix multi-outbounds not work by @Fangliding in https://github.com/XTLS/Xray-core/pull/4015
* Chore: Refactor infra/conf.TestToCidrList() by @zonescape in https://github.com/XTLS/Xray-core/pull/4017
* XHTTP client: Fix upload issue in "packet-up" mode inherited from SplitHTTP by @RPRX in https://github.com/XTLS/Xray-core/commit/2d7b0e8cd4f1fc6ec840891dbc03b4e781d0a5ad
* XHTTP test: Fix Test_maxUpload by @RPRX in https://github.com/XTLS/Xray-core/commit/1f570d9cefb750b9f1d3730ce21a7c6341e1bd6f
* Config: Correctly marshal `Address` to JSON by @yiguous in https://github.com/XTLS/Xray-core/pull/4021
* WireGuard inbound: Fix leaking session information between requests by @Fangliding in https://github.com/XTLS/Xray-core/pull/4030
* Test: Delete temporary file afterwards by @zonescape in https://github.com/XTLS/Xray-core/pull/4028
* HTTP transport: Use dest as Host if not set by @Fangliding in https://github.com/XTLS/Xray-core/pull/4038
* XHTTP client: Add gRPC header to "stream-up" mode by default by @RPRX in https://github.com/XTLS/Xray-core/pull/4042

以及升级一些依赖。

## New Contributors
* @lxsq made their first contribution in https://github.com/XTLS/Xray-core/pull/4010
* @pinglanlu made their first contribution in https://github.com/XTLS/Xray-core/pull/4008
* @yiguous made their first contribution in https://github.com/XTLS/Xray-core/pull/4021

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