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

libcurl failure with --disable-netrc #4302

Closed
codesniffer13 opened this issue Sep 7, 2019 · 0 comments
Closed

libcurl failure with --disable-netrc #4302

codesniffer13 opened this issue Sep 7, 2019 · 0 comments
Labels

Comments

@codesniffer13
Copy link

I did this

Built curl-7.65.3 from source and included (among other options) --disable-netrc. Tried to HTTP download from various public websites using the curl build (I ensured my PATH & LD_LIBRARY_PATH were setup to use only my build) but getting failures:

$ curl -o index2.html http://www.google.com
curl: (48) An unknown option was passed in to libcurl

curl -o index2.html https://www.google.com
curl: (48) An unknown option was passed in to libcurl

When I build with --enable-netrc then it works fine.

I expected the following

Successfully download webpages which do not require authentication.

curl/libcurl version

curl 7.65.3 (x86_64-pc-linux-gnu) libcurl/7.65.3 OpenSSL/1.0.2s zlib/1.2.11
Release-Date: 2019-07-19
Protocols: http https 
Features: AsynchDNS HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL UnixSockets

operating system

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.3 LTS
Release:	18.04
Codename:	bionic

@bagder bagder added the build label Sep 8, 2019
bagder added a commit that referenced this issue Sep 8, 2019
Reported-by: codesniffer13 on github
Fixes #4302
@bagder bagder closed this as completed in 74e152f Sep 9, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Dec 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging a pull request may close this issue.

2 participants