mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 10:14:09 +00:00
curl: add websocket support
disabled by default, enabled in curlFull https://curl.se/docs/websocket.html
This commit is contained in:
parent
ae9397e83b
commit
6d432900e2
@ -15,6 +15,7 @@
|
||||
), libkrb5
|
||||
, http2Support ? true, nghttp2
|
||||
, http3Support ? false, nghttp3, ngtcp2
|
||||
, websocketSupport ? false
|
||||
, idnSupport ? false, libidn2
|
||||
, ldapSupport ? false, openldap
|
||||
, opensslSupport ? zlibSupport, openssl
|
||||
@ -105,6 +106,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")
|
||||
|
@ -7373,6 +7373,7 @@ with pkgs;
|
||||
gsaslSupport = true;
|
||||
rtmpSupport = true;
|
||||
pslSupport = true;
|
||||
websocketSupport = true;
|
||||
};
|
||||
|
||||
curlHTTP3 = curl.override {
|
||||
|
Loading…
Reference in New Issue
Block a user