mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-27 14:34:33 +00:00
Merge pull request #277429 from ajs124/feat/curl-ws
curl: add websocket support
This commit is contained in:
commit
ead84fdd2b
@ -15,6 +15,7 @@
|
||||
), libkrb5
|
||||
, http2Support ? true, nghttp2
|
||||
, http3Support ? false, nghttp3, ngtcp2
|
||||
, websocketSupport ? false
|
||||
, idnSupport ? false, libidn2
|
||||
, ldapSupport ? false, openldap
|
||||
, opensslSupport ? zlibSupport, openssl
|
||||
@ -111,6 +112,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.enableFeature c-aresSupport "ares")
|
||||
(lib.enableFeature ldapSupport "ldap")
|
||||
(lib.enableFeature ldapSupport "ldaps")
|
||||
(lib.enableFeature websocketSupport "websockets")
|
||||
# --with-ca-fallback is only supported for openssl and gnutls https://github.com/curl/curl/blame/curl-8_0_1/acinclude.m4#L1640
|
||||
(lib.withFeature (opensslSupport || gnutlsSupport) "ca-fallback")
|
||||
(lib.withFeature http3Support "nghttp3")
|
||||
|
@ -7344,6 +7344,7 @@ with pkgs;
|
||||
gsaslSupport = true;
|
||||
rtmpSupport = true;
|
||||
pslSupport = true;
|
||||
websocketSupport = true;
|
||||
};
|
||||
|
||||
curlHTTP3 = curl.override {
|
||||
|
Loading…
Reference in New Issue
Block a user