diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-07 20:43:18 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-08 08:24:37 +0200 |
commit | 98c3f14871d1de77d1f9704e2f309aef9be33553 (patch) | |
tree | 8acbc5d678b57573078057c1af5c66e053c8ac9e /lib/urldata.h | |
parent | 026840e35c7359c23741afe633bd3ab4b121c4ed (diff) | |
download | curl-98c3f14871d1de77d1f9704e2f309aef9be33553.tar.gz |
alt-svc: send Alt-Used: in redirected requests
RFC 7838 section 5:
When using an alternative service, clients SHOULD include an Alt-Used
header field in all requests.
Removed CURLALTSVC_ALTUSED again (feature is still EXPERIMENTAL thus
this is deemed ok).
You can disable sending this header just like you disable any other HTTP
header in libcurl.
Closes #4199
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 395664d04..3129cb3ce 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -405,6 +405,7 @@ struct ConnectBits { the first time on the first connect function call */ bit close:1; /* if set, we close the connection after this request */ bit reuse:1; /* if set, this is a re-used connection */ + bit altused:1; /* this is an alt-svc "redirect" */ bit conn_to_host:1; /* if set, this connection has a "connect to host" that overrides the host in the URL */ bit conn_to_port:1; /* if set, this connection has a "connect to port" |