Xray-core/infra
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
..
conf Xmux: Value of 0 is treated the same as no value (#3835) 2024-09-19 11:20:12 -04:00
vformat Fix vformat 2022-05-18 15:27:55 +08:00
vprotogen Generate *.pb.go files with protoc v5.27.0 2024-05-26 03:20:53 +00:00