mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-05-15 10:29:04 +00:00
2d37e84d4d
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>