Commit 060f870b authored by Po-Chuan Hsieh's avatar Po-Chuan Hsieh Committed by Daniel Gustafsson
Browse files

altsvc: Fix building with cookies disables



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. Fix by splitting out the function into a separate file which can
be included where needed.

Closes #3717
Reviewed-by: default avatarDaniel Gustafsson <daniel@yesql.se>
Reviewed-by: default avatarMarcel Raad <Marcel.Raad@teamviewer.com>
parent e04e974a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment