]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
version: add ws + wss
authorDaniel Stenberg <daniel@haxx.se>
Fri, 9 Sep 2022 13:11:14 +0000 (15:11 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 9 Sep 2022 13:11:14 +0000 (15:11 +0200)
lib/version.c

index 4672182d5027e5711d023267e93cd356d2d4875e..9b72b521b815ec43525f41960a01f3ef32eda50a 100644 (file)
@@ -367,6 +367,12 @@ static const char * const protocols[] = {
 #ifndef CURL_DISABLE_TFTP
   "tftp",
 #endif
+#ifdef USE_WEBSOCKETS
+  "ws",
+#endif
+#if defined(USE_SSL) && defined(USE_WEBSOCKETS)
+  "wss",
+#endif
 
   NULL
 };