Merge pull request #277429 from ajs124/feat/curl-ws

curl: add websocket support
This commit is contained in:
Martin Weinelt 2024-01-07 04:58:59 +01:00 committed by GitHub
commit ead84fdd2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -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")

View File

@ -7344,6 +7344,7 @@ with pkgs;
gsaslSupport = true;
rtmpSupport = true;
pslSupport = true;
websocketSupport = true;
};
curlHTTP3 = curl.override {