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

List all libcurl features with --version #840

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

jcamiel
Copy link
Collaborator

@jcamiel jcamiel commented Sep 21, 2022

Before:

$ hurl --version
hurl 1.7.0 libcurl/7.77.0 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.42.0

After:

$ hurl --version
hurl 1.7.0 libcurl/7.77.0 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.42.0
Features (libcurl):  alt-svc AsynchDNS HSTS HTTP2 IPv6 Largefile libz NTLM NTLM_WB SPNEGO SSL UnixSockets
Features (built-in): brotli

Some features are not available from crates curl-rust:

CURL_VERSION_GSSAPI        (1<<17)
CURL_VERSION_KERBEROS5     (1<<18)
CURL_VERSION_PSL           (1<<20)
CURL_VERSION_HTTPS_PROXY   (1<<21)
CURL_VERSION_MULTI_SSL     (1<<22)
CURL_VERSION_THREADSAFE    (1<<30)

See alexcrichton/curl-rust#464

Closes #836.

@fabricereix
Copy link
Collaborator

/accept

@github-actions
Copy link

🕗 /accept is running, please wait for completion.

@github-actions
Copy link

❌ You have to rebase your Orange-OpenSource/hurl/feature/list-curl-features branch first because there are new commits pending on target Orange-OpenSource/hurl/master branch:

@lepapareil
Copy link
Collaborator

On windows:

> hurl --version
hurl 1.7.0 libcurl/7.84.0-DEV Schannel zlib/1.2.12
Features (libcurl):  alt-svc AsynchDNS HSTS IPv6 Largefile libz NTLM SPNEGO SSL SSPI Unicode UnixSockets
Features (built-in): brotli

👍

@jcamiel jcamiel force-pushed the feature/list-curl-features branch from b728242 to 23decaf Compare September 22, 2022 14:27
@jcamiel jcamiel force-pushed the feature/list-curl-features branch from 23decaf to 8cd29a8 Compare September 22, 2022 14:53
@fabricereix
Copy link
Collaborator

/accept

@github-actions
Copy link

🕗 /accept is running, please wait for completion.

@github-actions
Copy link

✅ Pull request accepted and closed by fabricereix with fast forward merge..

# List of commits merged from Orange-OpenSource/hurl/feature/list-curl-features branch into Orange-OpenSource/hurl/master branch:

  • 8cd29a8 List all libcurl features with --version.

@github-actions github-actions bot merged commit 8cd29a8 into master Sep 22, 2022
@github-actions github-actions bot deleted the feature/list-curl-features branch September 22, 2022 15:37
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

Successfully merging this pull request may close these issues.

Add libcurl feature when displaying Hurl version
3 participants