-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
LDAP not working with libcurl multi_socket interface #13998
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
Labels
Comments
I believe this problem can be reproduced with a debug-build on git master like this:
|
icing
added a commit
to icing/curl
that referenced
this issue
Jun 25, 2024
- in phase CONNECTING/TUNNELING/PROTOCONNECT, retrieve the socket from the connection filters and do not rely on `conn->sockfd` being already set by the transfer. - this applies to the default behaviour, a protocol handler may override this via its callbacks. - fixes timeout in curl#13998
icing
added a commit
to icing/curl
that referenced
this issue
Jun 25, 2024
- in phase CONNECTING/TUNNELING/PROTOCONNECT, retrieve the socket from the connection filters and do not rely on `conn->sockfd` being already set by the transfer. - this applies to the default behaviour, a protocol handler may override this via its callbacks. - add a warning message in multi_getsock() when the transfer is expected to have something in its pollset, but instead it is empty. - fixes timeout in curl#13998
Fixed for me in #14011. |
Thanks for quick resolution. Verified the fix in my environment. its working for me now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I did this
In my Ldap multi interface program, Ldap request started failing once i upgraded from curl-7.69.0 to curl-8.4.0.
So i tried latest curl version 8.8.0, where still seeing the same issue.
To rule out my program specific issues, i used standalone program for same from curl examples here multi-uv
compiled:
gcc -g -o multi-uv multi-uv.c -luv -lcurl
Run with licurl complied with debug mode:
Things i added in mentioned standalone program for testing:
Points from my debugging using gdb:
I expected the following
Following run with curl 7.69.0, works fine.
curl/libcurl version
operating system
Linux 100-65-8-98 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: