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

requests are leaving open sockets? #10

Open
hishamhm opened this issue May 30, 2016 · 0 comments
Open

requests are leaving open sockets? #10

hishamhm opened this issue May 30, 2016 · 0 comments

Comments

@hishamhm
Copy link
Contributor

Hi,

I have a program that performs several requests in a loop, with a 1 second sleep between them, and I noticed the number of open sockets in my process was growing. I modified it to run garbagecollect() after each request, and now the number of sockets is stable.

After a quick look at the sources, it wasn't clear to me how/where to fix this. (Perhaps it's a LuaSocket issue!?)

Thanks!

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