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

SmbClient might not close all connection and therefore PacketReader thread kept running #855

Open
JozefDropco opened this issue Jan 22, 2025 · 0 comments

Comments

@JozefDropco
Copy link
Contributor

Hi,
we came across issue where PacketReader thread kept running in background even though all interactions was already closed. I found out that its because connection.close method is called #SmbClient is calling close method without force. If the connection is pooled multiple times SmbClient.close() will cause only decrease of the pooled count which is wrong.

I will provide a fix shortly for this.

JozefDropco pushed a commit to JozefDropco/smbj that referenced this issue Jan 22, 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