msh3: error when built with CURL_DISABLE_SOCKETPAIR set

Reported-by: Gisle Vanem
Closes #12252
Fixes #12213
This commit is contained in:
Stefan Eissing 2023-11-02 11:40:59 +01:00 committed by Daniel Stenberg
parent 8c058a820a
commit 5d0b3eda43
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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 \