-
-
Notifications
You must be signed in to change notification settings - Fork 821
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
Pop3Client does not close TCP connections #4
Comments
Hmmm... are you disposing the Pop3Client? That disposes the underlying stream. |
Sure, it's really just the sample code from the start page in a loop. I'm sending you an email with code to reproduce it including login data to a testing mail account. |
fixed |
this may be fixed by my latest commit - the Connect loop was connecting to every IP address in a loop, even if a connection was successful. |
Thank you, the latest commit fixed it. |
thank goodness! |
Hello,
Running the Pop3Client sample code in a timer keeps a lot of connections with CLOSE_WAIT state and ESTABLISHED state open (verified with sysinternals TCPView).
Checking 5 Mailaccounts every 30 seconds quickly produces about 150 open connections (about 50% with CLOSE_WAIT state).
About 10 minutes later all the connections get closed and then they start building up again.
Environment: Win8, Pop3s
The text was updated successfully, but these errors were encountered: