Xray-core/infra/conf
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
..
cfgcommon/duration Observatory related fixes (#788) 2021-10-26 13:00:31 +08:00
json Reformat code 2022-05-18 15:29:01 +08:00
serial Config: Combine filename and format into a new struct (#3687) 2024-08-16 05:32:05 +00:00
api.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
blackhole.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
blackhole_test.go v1.1.0 2020-12-04 09:36:16 +08:00
buildable.go refactor(deps): replace github.com/golang/protobuf with google.golang.org/protobuf 2023-08-10 10:43:27 -04:00
common.go SplitHTTP client: Add minUploadInterval (#3592) 2024-07-27 12:52:36 +00:00
common_test.go Reformat code 2022-05-18 15:29:01 +08:00
conf.go v1.1.0 2020-12-04 09:36:16 +08:00
dns.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
dns_proxy.go DNS outbound: Add blockTypes (#3812) 2024-09-15 04:21:51 +00:00
dns_proxy_test.go Fix dns_proxy_test.go 2023-06-19 00:51:03 +00:00
dns_test.go refactor(deps): replace github.com/golang/protobuf with google.golang.org/protobuf 2023-08-10 10:43:27 -04:00
dokodemo.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
dokodemo_test.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
fakedns.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
freedom.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
freedom_test.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
general_test.go refactor(deps): replace github.com/golang/protobuf with google.golang.org/protobuf 2023-08-10 10:43:27 -04:00
grpc.go Add Authority to gRPC Transport (#3076) 2024-02-29 14:22:14 +00:00
http.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
http_test.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
init.go Add Fake DNS support (#309) 2021-03-07 04:39:50 +00:00
lint.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
loader.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
log.go Log: Add MaskAddress option to hide IP addresses (#3783) 2024-09-11 10:45:47 -04:00
loopback.go refactor(deps): replace github.com/golang/protobuf with google.golang.org/protobuf 2023-08-10 10:43:27 -04:00
metrics.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
observatory.go Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
policy.go v1.1.0 2020-12-04 09:36:16 +08:00
policy_test.go v1.1.0 2020-12-04 09:36:16 +08:00
reverse.go refactor(deps): replace github.com/golang/protobuf with google.golang.org/protobuf 2023-08-10 10:43:27 -04:00
reverse_test.go v1.1.0 2020-12-04 09:36:16 +08:00
router.go Config: Remove legacy config fields again (#3782) 2024-09-11 10:37:25 -04:00
router_strategy.go chore: fix some typos in comments 2024-04-18 12:24:56 +08:00
router_test.go Config: Remove legacy config fields again (#3782) 2024-09-11 10:37:25 -04:00
shadowsocks.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
shadowsocks_test.go remove deprecate ciphers in shadowsocks (#710) 2021-09-17 04:13:07 +08:00
socks.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
socks_test.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
transport_authenticators.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
transport_internet.go Xmux: Value of 0 is treated the same as no value (#3835) 2024-09-19 11:20:12 -04:00
transport_test.go Config: Remove global transport (#3751) 2024-09-04 18:09:16 -04:00
trojan.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
vless.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
vless_test.go Legends never die (#1725) 2023-03-04 10:39:26 +00:00
vmess.go Config: Remove some legacy fields from V2Ray 3.x era (#3776) 2024-09-09 06:03:21 +00:00
vmess_test.go Clean legacy vmess (#2199) 2023-06-12 10:32:25 -04:00
wireguard.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
wireguard_test.go WireGuard Inbound (User-space WireGuard server) (#2477) 2023-11-17 22:27:17 -05:00
xray.go Errors: Add PrintRemovedFeatureError & PrintDeprecatedFeatureWarning (#3804) 2024-09-15 04:55:54 +00:00
xray_test.go Config: Remove legacy config fields again (#3782) 2024-09-11 10:37:25 -04:00