Skip to content

Conversation

mzz2017
Copy link
Contributor

@mzz2017 mzz2017 commented Nov 18, 2021

I can stably observe that when using Trojan as the server, there will be memory leak issues.

When I investigate the problem, I found it related to the fallback. I mean that the problem is particularly obvious when fallback address is not set.

After code auditing, I fixed a possible leak, but I can't guarantee that the problem was completely repaired, because I have not conducted further testing.

https://github.com/golang/go/blob/master/src/crypto/tls/conn.go#L1314

@nadoo nadoo merged commit ca320d3 into nadoo:master Nov 28, 2021
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.

2 participants