← Commit list

4b3af7fb67

Viktor Szakats
Viktor Szakats
2026-02-05
SUCCESS Duration: 343s

Subject

lib: disable websockets early if no http

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/curl_setup.h+3 -0
@@ -289,6 +289,9 @@
# define CURL_DISABLE_HEADERS_API 1
# define CURL_DISABLE_HSTS 1
# define CURL_DISABLE_HTTP_AUTH 1
+# ifndef CURL_DISABLE_WEBSOCKETS
+# define CURL_DISABLE_WEBSOCKETS /* no WebSockets without HTTP present */
+# endif
#endif
/* ================================================================ */
lib/ws.c+0 -6
@@ -24,12 +24,6 @@
#include "curl_setup.h"
#include "urldata.h"
-#ifdef CURL_DISABLE_HTTP
-/* no WebSockets without HTTP present */
-#undef CURL_DISABLE_WEBSOCKETS
-#define CURL_DISABLE_WEBSOCKETS 1
-#endif
-
#ifndef CURL_DISABLE_WEBSOCKETS
#include "url.h"