mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-27 01:00:47 +03:00
Transport: Refine Hysteria & quicParams
This commit is contained in:
@@ -1219,8 +1219,18 @@ Same as the TCP version.
|
||||
}
|
||||
```
|
||||
|
||||
Used for QUIC configuration tuning of XHTTP H3 and Hysteria.
|
||||
|
||||
> `congestion`: reno | bbr | brutal | force-brutal
|
||||
|
||||
Congestion control algorithm. Hysteria defaults to `brutal`, XHTTP H3 defaults to `bbr`.
|
||||
|
||||
`reno`/`bbr`: Well-known algorithms.
|
||||
|
||||
`brutal`: Negotiates a fixed packet sending rate with the peer or falls back to BBR. Only supported with Hysteria transport (since XHTTP has no negotiation mechanism).
|
||||
|
||||
`force-brutal`: Same as `brutal`, but forces upstream to use the `brutalUp` fixed packet sending rate, ignoring peer negotiation.
|
||||
|
||||
> `debug`: false | true
|
||||
|
||||
Enable bbr/brutal congestion control logging.
|
||||
@@ -1233,7 +1243,7 @@ Upload/Download rate limits. Default is 0.
|
||||
|
||||
The format is user-friendly and supports various common bit-per-second notations, including `1000000`, `100kb`, `20 mb`, `100 mbps`, `1g`, `1 tbps`, etc. It is case-insensitive, and spaces between the number and unit are optional. If no unit is specified, it defaults to bps (bits per second). It cannot be lower than 65535 bps.
|
||||
|
||||
The negotiation behavior is consistent with the original Hysteria:
|
||||
The negotiation behavior is consistent with Hysteria brutal:
|
||||
|
||||
The server's value limits the maximum Brutal mode rate that the client can choose. 0 means no limit on the client.
|
||||
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
# Hysteria
|
||||
|
||||
::: tip
|
||||
When used with the `hysteria protocol`, `quic native udp` is enabled by default.
|
||||
|
||||
When used with `hysteria inbound`, `auth` will be overridden by `clients` (if it exists).
|
||||
|
||||
Whether other `protocols` can proxy `udp` depends on whether that `protocol` has `uot` capabilities.
|
||||
|
||||
Enabling `finalmask.udp` will break the `masquerade` page masquerading.
|
||||
:::
|
||||
Xray implementation of the underlying QUIC transport for Hysteria2, typically used with hysteria [outbound](../outbounds/hysteria.md) and hysteria [inbound](../inbounds/hysteria.md), and is compatible with the official implementation in this case.
|
||||
|
||||
## HysteriaObject
|
||||
|
||||
@@ -45,6 +37,8 @@ Hysteria version, must be 2.
|
||||
|
||||
Hysteria authentication password. Must be consistent between the server and the client.
|
||||
|
||||
When used with `hysteria inbound`, it will be overridden by `clients` (if it exists).
|
||||
|
||||
> `udpIdleTimeout`: number
|
||||
|
||||
Unit: seconds, default 60.
|
||||
|
||||
Reference in New Issue
Block a user