mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-09-17 15:00:27 +00:00
Use core.ToBackgroundDetachedContext to prevent all peer connections from being cancelled when the original request context is cancelled. This ensures peer connections remain independent and stable. Tests pass, no security issues found. Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>