Fork of https://github.com/XTLS/Xray-core. It's still up, but there's a risk that the upstream will be removed later.
Go to file
mmmray 93cff1a576
Xmux: Value of 0 is treated the same as no value (#3835)
It turns out that some panels like to set `"xmux": {"maxConnections": 0,
"maxConcurrency": 0}`, and of course that fails now. To make their job
easier, let's treat `0` the same as not setting the parameter.

Again, I don't like that xray's defaults are hardcoded all over the
place. I would have liked a different default value for Xmux in a future
version, but it actually can't be done in practice because everybody
just copypastes the defaults from the docs into their own sourcecode
(and sometimes changes them silently to their own idea of a good
default)
2024-09-19 11:20:12 -04:00
.github Update go 1.23 (#3730) 2024-08-25 22:30:38 -04:00
app Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
common Errors: Add PrintRemovedFeatureError & PrintDeprecatedFeatureWarning (#3804) 2024-09-15 04:55:54 +00:00
core v24.9.19 2024-09-19 01:12:29 +00:00
features Errors: Add PrintRemovedFeatureError & PrintDeprecatedFeatureWarning (#3804) 2024-09-15 04:55:54 +00:00
infra Xmux: Value of 0 is treated the same as no value (#3835) 2024-09-19 11:20:12 -04:00
main Transport: Remove DomainSocket (#3757) 2024-09-03 11:36:11 +00:00
proxy Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
testing Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
transport Browser Dialer: Change from ES5 to ES6+ for performance (#3832) 2024-09-19 10:57:43 +02:00
.gitignore SplitHTTP: Read and validate HTTP/1.1 responses (#3797) 2024-09-16 12:33:03 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md (#941) (#749) 2021-10-22 12:38:40 +08:00
go.mod Bump github.com/sagernet/sing from 0.4.1 to 0.4.3 (#3818) 2024-09-15 21:20:12 -04:00
go.sum Bump github.com/sagernet/sing from 0.4.1 to 0.4.3 (#3818) 2024-09-15 21:20:12 -04:00
LICENSE v1.0.0 2020-11-25 19:01:53 +08:00
Makefile Fix typos (#3527) 2024-07-12 00:20:06 +02:00
README.md README.md: Add SaeedDev94/Xray to Android clients 2024-09-09 05:59:12 +00:00

Project X

Project X originates from XTLS protocol, providing a set of network tools such as Xray-core and REALITY.

README is open, so feel free to submit your project here.

Donation & NFTs

Announcement of NFTs by Project X

License

Mozilla Public License Version 2.0

Documentation

Project X Official Website

Telegram

Project X

Project X Channel

Project VLESS (non-Chinese)

Installation

Usage

GUI Clients

Others that support VLESS, XTLS, REALITY, XUDP, PLUX...

Contributing

Code of Conduct

Credits

Compilation

Windows (PowerShell)

$env:CGO_ENABLED=0
go build -o xray.exe -trimpath -ldflags "-s -w -buildid=" ./main

Linux / macOS

CGO_ENABLED=0 go build -o xray -trimpath -ldflags "-s -w -buildid=" ./main

Reproducible Releases

make

Stargazers over time

Stargazers over time