New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'vquic/curl_msh3.c' and '-DCURL_DISABLE_SOCKETPAIR' #12213
Comments
First: disabling the IPC communication with msh3 seriously cripples how it works and frankly, I am not convinced allowing this is a good idea. If you want to use msh3, you want it used. It might make sense to rather create an error that says so. A complete fix to make this code use the wakeup_-macros instead of hardcoded socketpair also needs to use |
This combo? Fine by me, but where should the error be generated? |
I think maybe in msh3.c, because I believe it is msh3's design that makes socketpair/pipe necessary. |
Something like this maybe?
|
@icing yup! |
Reported-by: Gisle Vanem Closes curl#12252 Fixes curl#12213
I did this
Building libcurl with
-DCURL_DISABLE_SOCKETPAIR
and-DUSE_MSH3
, gave me this link error:curl_msh3.obj : error LNK2019: unresolved external symbol Curl_socketpair referenced in function cf_msh3_connect
Perhaps the code should be:
since I see no other direct call to
Curl_socketpair()
and (MSH3 is for non-Windows too).Not sure, but other places this is wrapped inside a
#ifdef ENABLE_WAKEUP
.I expected the following
The .DLL to link.
curl/libcurl version
8.5.0-DEV
operating system
Win-10.
The text was updated successfully, but these errors were encountered: