Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix build with ALTSVC enabled and COOKIES disabled #3717
ALTSVC requires Curl_get_line which is defined in lib/cookie.c inside a #if check of HTTP and COOKIES. That makes Curl_get_line undefined if COOKIES is disabled. This is a workaround to define Curl_get_line unconditionally.
danielgustafsson left a comment
I'm more inclined to move this into a generic utilities file, or a file-specific utilities file. It's not very logical to keep it
Assuming there is buy-in from other maintainers, I'm happy to pick that up in case you're not interested in pursuing that patch.