Skip to content

Conversation

@Fangliding
Copy link
Member

sing里的task包和ray里的不一样它会等待并收集所有tast的错误才会结束并执行清理参数
考虑到sing包没法再动 只能往被卡住的函数里添加一个内置的超时机制来处理了
虽然说理论上这东西是要删的不过当前这样可以勉强解决问题
close #5163

@yuhan6665 yuhan6665 changed the title 修复ss2022内存泄露 Fix shadowsocks2022 memory leak Oct 6, 2025
@yuhan6665 yuhan6665 merged commit 1952488 into main Oct 6, 2025
78 checks passed
@yuhan6665
Copy link
Member

感谢!

Dimas862 pushed a commit to Dimas862/Xray-core that referenced this pull request Oct 15, 2025
Revert "v25.10.15"

This reverts commit b69a376.

Revert "VLESS Reverse Proxy: Transfer real Source & Local (IP & port), enabled by default"

This reverts commit 12f4a01.

Revert "XHTTP client: Change default `maxConcurrency` to 1 for speed testing"

This reverts commit 9cc7907.

Revert "Router: Use built-in-dns only once for all rules (in "IPOnDemand"/"IPIfNonMatch" mode) (XTLS#5210)"

This reverts commit 21a9658.

Revert "README.md: Add PasarGuard to Web Panels (XTLS#5224)"

This reverts commit 7f436f5.

Revert "Update github.com/xtls/reality to 20251014195629"

This reverts commit dcfde8d.

Revert "Bump golang.org/x/net from 0.44.0 to 0.46.0 (XTLS#5215)"

This reverts commit 898db92.

Revert "Bump google.golang.org/grpc from 1.75.1 to 1.76.0 (XTLS#5212)"

This reverts commit 8dd0e38.

Revert "transport/internet/reality/reality.go: Safely get negotiated CurveID in VerifyPeerCertificate()"

This reverts commit 40f0a54.

Revert "Bump github.com/refraction-networking/utls from 1.8.0 to 1.8.1 (XTLS#5229)"

This reverts commit 1762d6c.

Revert "Fix shadowsocks2022 memory leak (XTLS#5166)"

This reverts commit 1952488.

Revert "fix: darwin arm64 always has AESGCMHardwareSupport (XTLS#5176)"

This reverts commit 4a825c0.

Revert "Bump github.com/quic-go/quic-go from 0.54.1 to 0.55.0 (XTLS#5208)"

This reverts commit 514c9e5.

Revert "feat(config): add unix socket HTTP config loader support (XTLS#5200)"

This reverts commit 2f366ae.

Revert "Fix vless reverse panic in vision (XTLS#5189)"

This reverts commit c0c88f3.

Revert "Bump github.com/quic-go/quic-go from 0.54.0 to 0.54.1 (XTLS#5180)"

This reverts commit d0344bc.

Revert "Bump google.golang.org/protobuf from 1.36.9 to 1.36.10 (XTLS#5203)"

This reverts commit a6ebb30.

Revert "Outbound: One endpoint and at most one user only (XTLS#5144)"

This reverts commit fe57507.

Revert "Config: Outbound proxy config no need to be nested (XTLS#5124)"

This reverts commit 83c5370.

Revert "Bump google.golang.org/grpc from 1.75.0 to 1.75.1 (XTLS#5129)"

This reverts commit 1a48453.

Revert "app/dispatcher/default.go: Close link when routedDispatch() failed (XTLS#5131)"

This reverts commit 3167e5c.

Revert "app/dispatcher/default.go: Add comment on run-time rejecting non-existent outbound tag"

This reverts commit 5148c57.
@RPRX RPRX deleted the ss2022-leak branch October 15, 2025 10:19
SaeedDev94 pushed a commit to SaeedDev94/Xray-core that referenced this pull request Oct 19, 2025
* Fix ss2022 gouroutine leak

* ErrReadTimeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

似乎是内存泄露问题?

3 participants