From 5d0b3eda439865478b5447268d00384f0f538e60 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Thu, 2 Nov 2023 11:40:59 +0100 Subject: [PATCH] msh3: error when built with CURL_DISABLE_SOCKETPAIR set Reported-by: Gisle Vanem Closes #12252 Fixes #12213 --- lib/vquic/curl_msh3.c | 4 ++++ 1 file changed, 4 insertions(+) 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 \