From: Stefan Eissing Date: Thu, 2 Nov 2023 10:40:59 +0000 (+0100) Subject: msh3: error when built with CURL_DISABLE_SOCKETPAIR set X-Git-Tag: curl-8_5_0~157 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d0b3eda439865478b5447268d00384f0f538e60;p=thirdparty%2Fcurl.git msh3: error when built with CURL_DISABLE_SOCKETPAIR set Reported-by: Gisle Vanem Closes #12252 Fixes #12213 --- diff --git a/lib/vquic/curl_msh3.c b/lib/vquic/curl_msh3.c index 1a5692305a..bdc2ecb000 100644 --- a/lib/vquic/curl_msh3.c +++ b/lib/vquic/curl_msh3.c @@ -46,6 +46,10 @@ #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 \