-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
codedown #1207
Comments
Based on Google search, "error 9 on netlink descriptor 12" may happen if a thread closes its socket handle a second time after the system has already allocated the handle ID to a different thread's socket open call. |
@wangchuanfang, could you create the smallest possible code example to reproduce this problem? Then, I'll try to reproduce it on my machine for debugging. Thanks! |
I probably don't understand your comment fully though, It seems that it's an application responsibility. httplib::Client::send itself is a single thread call. So if the problem is caused by such a multithread condition, threads are created on a higher level and there is no way for httplib to figure out such redundant file descriptors. At least what httplib can is to expose a socket descriptor, so that the application can check if the socket is already close. curl/curl#3386 |
@wangchuanfang, for now, I'll close it. |
Hi yhirose
I use httplib in the following way and it crashes when I do a bake
The stack information is as follows:
The error message is as follows:
The text was updated successfully, but these errors were encountered: