3x-ui/subproject/Xray-core-main/transport/internet
test999 367152556a **Fixes & Changes:**
1. **Fixed XPadding Placement Dropdown**:
   - Added the missing `cookie` and `query` options to `xPaddingPlacement` (`stream_xhttp.html`).
   - *Why:* Previously, users wanting `cookie` obfuscation were forced to use the `header` placement string. This caused Xray-core to blindly intercept the entire monolithic HTTP Cookie header, failing internal padding-length validations and causing the inbound to silently drop the connection.
2. **Fixed Uplink Data Placement Validation**:
   - Replaced the unsupported `query` option with `cookie` in `uplinkDataPlacement`.
   - *Why:* Xray-core's `transport_internet.go` explicitly forbids `query` as an uplink placement option. Selecting it from the UI previously sent a payload that would cause Xray-core to instantly throw an `unsupported uplink data placement: query` panic. Adding `cookie` perfectly aligns the UI with Xray-core restrictions.
### Related Issues
- Resolves #3992
2026-04-06 15:00:43 +03:00
..
browser_dialer **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
finalmask **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
grpc **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
headers **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
httpupgrade **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
hysteria **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
kcp **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
reality **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
splithttp **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
stat **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
tagged **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
tcp **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
tls **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
udp **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
websocket **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
config.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
config.pb.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
config.proto **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
dialer.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
dialer_test.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
filelocker.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
filelocker_other.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
filelocker_windows.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
happy_eyeballs.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
header.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
internet.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
memory_settings.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
sockopt.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
sockopt_darwin.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
sockopt_freebsd.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
sockopt_linux.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
sockopt_linux_test.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
sockopt_other.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
sockopt_test.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
sockopt_windows.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
system_dialer.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
system_listener.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
system_listener_test.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
tcp_hub.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00