-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
configure: "--disable-threaded-resolver" does not work #1784
Comments
I'm not able to make a full pull-request right now, but here's a patch: index d77a884..6dcd0f1 100644
--- a/m4/curl-confopts.m4
+++ b/m4/curl-confopts.m4
@@ -37,14 +37,14 @@ AC_HELP_STRING([--enable-threaded-resolver],[Enable threaded resolver])
AC_HELP_STRING([--disable-threaded-resolver],[Disable threaded resolver]),
OPT_THRES=$enableval)
case "$OPT_THRES" in
- *)
- dnl configure option not specified
- want_thres="yes"
- ;;
no)
dnl --disable-threaded-resolver option used
want_thres="no"
;;
+ *)
+ dnl configure option not specified
+ want_thres="yes"
+ ;;
esac
AC_MSG_RESULT([$want_thres])
]) |
Yes, that's the bug. "*" matches "yes" and "no", so "no" must be tested first |
@jzakrzewski, Turn that into a PR perhaps? |
Thanks, it's fine +1. I put it in with assigned authorship to @jzakrzewski |
Thanks @jay. |
It is actually possible. You just need to make sure it uses a ".txt" extension but then you can upload it fine in a comment. Next time! =) |
@bagder on https://curl.haxx.se/changes.html , please move "configure: use the threaded resolver backend by default if possible" from "Bugfixes" to "Changes". |
Bump to 7.55.1 broke the disable threaded resolver feature as reported in curl/curl#1784. As a result curl is always compiled with the threaded resolver feature enabled which causes a dependency issue on pthread for uclibc. Fix this issue by backporting the upstream curl commit which fixes disable threaded resolver. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Bump to 7.55.1 broke the disable threaded resolver feature as reported in curl/curl#1784. As a result curl is always compiled with the threaded resolver feature enabled which causes a dependency issue on pthread for uclibc. Fix this issue by backporting the upstream curl commit which fixes disable threaded resolver. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
I did this
I expected the following
The threaded resolver is disabled.
... but actually it's enabled:
curl/libcurl version
operating system
Linux
The text was updated successfully, but these errors were encountered: