Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak in production when switching from endless using Server.ServeHTTP #4639

Open
cheneylew opened this issue Feb 10, 2025 · 0 comments

Comments

@cheneylew
Copy link

cheneylew commented Feb 10, 2025

In production, server.Start() should be used, and Server.ServeHTTP should be disabled to prevent misuse. Please evaluate whether this approach is reasonable.

@kevwan kevwan changed the title endless结合gozero无缝切换过程中踩了个坑:Server.ServeHTTP被用于到了生产环境,有内存泄漏 Memory leak in production when switching from endless using Server.ServeHTTP Feb 10, 2025
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

No branches or pull requests

1 participant