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

Lock full after receiving connection from few clients #1862

Closed
mdczaplicki opened this issue Oct 2, 2018 · 1 comment
Closed

Lock full after receiving connection from few clients #1862

mdczaplicki opened this issue Oct 2, 2018 · 1 comment
Assignees

Comments

@mdczaplicki
Copy link

Any thoughts on this one?
wolfSSL/wolfssl-py#5 (comment)
I think it is mainly related to python's threading and your's library.
There is a similar problem already on stackoverflow.
https://stackoverflow.com/questions/21825291/threading-issues

@kaleb-himes kaleb-himes self-assigned this Oct 4, 2018
@kaleb-himes
Copy link
Contributor

In brief, the problem is caused by repeated locking of a fast mutex, and solved by using a recursive mutex. The default pthread_mutex_t is not recursive. Were you able to resolve this locally? If so, we would welcome a patch via a pull request on the wolfSSL Python solution. If you do decide to open a PR just shoot us an email at [email protected] and we will send over a contributor agreement for review and signing.

Warm Regards,

  • K

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

2 participants