]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
msh3: error when built with CURL_DISABLE_SOCKETPAIR set
authorStefan Eissing <stefan@eissing.org>
Thu, 2 Nov 2023 10:40:59 +0000 (11:40 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 2 Nov 2023 13:29:21 +0000 (14:29 +0100)
Reported-by: Gisle Vanem
Closes #12252
Fixes #12213

lib/vquic/curl_msh3.c

index 1a5692305a9d89d86f9685bc3b9dcb96279072d2..bdc2ecb00081c63227a97a51babd9e3ff0d57f20 100644 (file)
 #include "curl_memory.h"
 #include "memdebug.h"
 
+#ifdef CURL_DISABLE_SOCKETPAIR
+#error "MSH3 cannot be build with CURL_DISABLE_SOCKETPAIR set"
+#endif
+
 #define H3_STREAM_WINDOW_SIZE (128 * 1024)
 #define H3_STREAM_CHUNK_SIZE   (16 * 1024)
 #define H3_STREAM_RECV_CHUNKS \