curl/lib
Jay Satiro b5901cab57 http: Ignore HTTP/2 prior knowledge setting for HTTP proxies
- Do not switch to HTTP/2 for an HTTP proxy that is not tunnelling to
  the destination host.

We already do something similar for HTTPS proxies by not sending h2. [1]

Prior to this change setting CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE would
incorrectly use HTTP/2 to talk to the proxy, which is not something we
support (yet?). Also it's debatable whether or not that setting should
apply to HTTP/2 proxies.

[1]: https://github.com/curl/curl/commit/17c5d05

Bug: https://github.com/curl/curl/issues/3570
Bug: https://github.com/curl/curl/issues/3832

Closes https://github.com/curl/curl/pull/3853
2019-05-08 22:50:41 -04:00
..
vauth vauth/cleartext: Don't send the authzid if it is empty 2019-04-21 23:34:21 +01:00
vtls OpenSSL: Report -fips in version if OpenSSL is built with FIPS 2019-05-08 09:30:15 +02:00
.gitattributes
.gitignore
altsvc.c altsvc: Fix building with cookies disables 2019-04-20 22:46:21 +02:00
altsvc.h alt-svc: the libcurl bits 2019-03-03 11:17:52 +01:00
amigaos.c configure: add --with-amissl 2019-03-15 10:22:42 +01:00
amigaos.h configure: add --with-amissl 2019-03-15 10:22:42 +01:00
arpa_telnet.h
asyn-ares.c build: fix Codacy/CppCheck warnings 2019-04-11 21:08:44 +02:00
asyn-thread.c
asyn.h
base64.c
checksrc.pl
CMakeLists.txt
config-amigaos.h
config-dos.h
config-mac.h
config-os400.h os400: Disable Alt-Svc by default since it's experimental 2019-03-24 16:43:43 -04:00
config-riscos.h
config-symbian.h
config-tpf.h
config-vxworks.h
config-win32.h
config-win32ce.h
conncache.c CURLOPT_MAXAGE_CONN: set the maximum allowed age for conn reuse 2019-04-21 23:06:23 +02:00
conncache.h pipelining: removed 2019-04-06 22:49:50 +02:00
connect.c singleipconnect: show port in the verbose "Trying ..." message 2019-04-13 11:21:25 +02:00
connect.h
content_encoding.c
content_encoding.h
cookie.c cookie: Guard against possible NULL ptr deref 2019-05-01 13:14:15 +02:00
cookie.h altsvc: Fix building with cookies disables 2019-04-20 22:46:21 +02:00
curl_addrinfo.c memdebug: log pointer before freeing its data 2019-03-12 21:45:03 +01:00
curl_addrinfo.h memdebug: make debug-specific functions use curl_dbg_ prefix 2019-03-08 23:21:21 +01:00
curl_base64.h
curl_config.h.cmake cmake: rename CMAKE_USE_DARWINSSL to CMAKE_USE_SECTRANSP 2019-04-27 11:51:23 +02:00
curl_ctype.c
curl_ctype.h
curl_des.c
curl_des.h
curl_endian.c
curl_endian.h
curl_fnmatch.c
curl_fnmatch.h
curl_get_line.c altsvc: Fix building with cookies disables 2019-04-20 22:46:21 +02:00
curl_get_line.h altsvc: Fix building with cookies disables 2019-04-20 22:46:21 +02:00
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c
curl_gssapi.h
curl_hmac.h
curl_ldap.h
curl_md4.h ntlm: Missed pre-processor || (or) during rebase for cd15acd0 2019-04-23 20:26:02 +01:00
curl_md5.h md5: Update the function signature following d84da52d 2019-04-16 00:08:42 +01:00
curl_memory.h
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c
curl_multibyte.h
curl_ntlm_core.c ntlm: Support the NT response in the type-3 when OpenSSL doesn't include MD4 2019-04-23 20:00:33 +01:00
curl_ntlm_core.h ntlm: Support the NT response in the type-3 when OpenSSL doesn't include MD4 2019-04-23 20:00:33 +01:00
curl_ntlm_wb.c
curl_ntlm_wb.h
curl_path.c ssh: define USE_SSH if SSH is enabled (any backend) 2019-05-06 10:14:17 +02:00
curl_path.h
curl_printf.h
curl_range.c
curl_range.h
curl_rtmp.c
curl_rtmp.h
curl_sasl.c sasl: Don't send authcid as authzid for the PLAIN mechanism as per RFC 4616 2019-04-22 12:29:49 +01:00
curl_sasl.h
curl_sec.h
curl_setup_once.h
curl_setup.h ssh: define USE_SSH if SSH is enabled (any backend) 2019-05-06 10:14:17 +02:00
curl_sha256.h
curl_sspi.c
curl_sspi.h
curl_threads.c
curl_threads.h
curlx.h
dict.c
dict.h
doh.c doh: inherit some SSL options from user's easy handle 2019-03-11 01:50:12 -04:00
doh.h
dotdot.c
dotdot.h
easy.c CURLOPT_DNS_USE_GLOBAL_CACHE: remove 2019-04-11 22:22:39 +02:00
easyif.h
escape.c
escape.h
file.c file: fix "Checking if unsigned variable 'readcount' is less than zero." 2019-03-12 21:46:11 +01:00
file.h
fileinfo.c
fileinfo.h
firefox-db2pem.sh
formdata.c
formdata.h
ftp.c
ftp.h
ftplistparser.c ftplistparser: fix LGTM alert "Empty block without comment" 2019-04-05 12:56:18 +02:00
ftplistparser.h
getenv.c
getinfo.c
getinfo.h
gopher.c gopher: remove check for path == NULL 2019-03-05 08:01:50 +01:00
gopher.h
hash.c
hash.h
hmac.c
hostasyn.c
hostcheck.c
hostcheck.h
hostip4.c
hostip6.c
hostip.c CURLOPT_DNS_USE_GLOBAL_CACHE: remove 2019-04-11 22:22:39 +02:00
hostip.h
hostsyn.c
http2.c pipelining: removed 2019-04-06 22:49:50 +02:00
http2.h
http_chunks.c
http_chunks.h
http_digest.c
http_digest.h
http_negotiate.c Negotiate: fix for HTTP POST with Negotiate 2019-03-14 09:26:03 +01:00
http_negotiate.h Negotiate: fix for HTTP POST with Negotiate 2019-03-14 09:26:03 +01:00
http_ntlm.c
http_ntlm.h
http_proxy.c
http_proxy.h
http.c http: Ignore HTTP/2 prior knowledge setting for HTTP proxies 2019-05-08 22:50:41 -04:00
http.h
idn_win32.c
if2ip.c CURLOPT_ADDRESS_SCOPE: fix range check and more 2019-04-13 11:18:55 +02:00
if2ip.h CURLOPT_ADDRESS_SCOPE: fix range check and more 2019-04-13 11:18:55 +02:00
imap.c emailL Added reference to RFC8314 for implicit TLS 2019-04-11 01:19:15 +01:00
imap.h
inet_ntop.c
inet_ntop.h
inet_pton.c
inet_pton.h
krb5.c
ldap.c
libcurl.plist
libcurl.rc
libcurl.vers.in
llist.c
llist.h
Makefile.am makefile: make checksrc and hugefile commands "silent" 2019-03-14 20:11:24 +01:00
makefile.amiga
makefile.dj
Makefile.inc altsvc: Fix building with cookies disables 2019-04-20 22:46:21 +02:00
Makefile.m32
Makefile.netware
Makefile.vxworks
Makefile.Watcom
md4.c ntlm: Support the NT response in the type-3 when OpenSSL doesn't include MD4 2019-04-23 20:00:33 +01:00
md5.c md5: Forgot to update the code alignment in d84da52d 2019-04-15 22:40:43 +01:00
memdebug.c memdebug: fix variable name 2019-04-22 03:10:05 -04:00
memdebug.h memdebug: make debug-specific functions use curl_dbg_ prefix 2019-03-08 23:21:21 +01:00
mime.c
mime.h lib: Fix typos in comments 2019-03-22 11:39:03 +01:00
mk-ca-bundle.pl
mk-ca-bundle.vbs
mprintf.c
multi.c multi: provide Curl_multiuse_state to update information 2019-05-01 22:51:23 +02:00
multihandle.h pipelining: removed 2019-04-06 22:49:50 +02:00
multiif.h multiif.h: remove unused protos 2019-05-02 09:56:19 +02:00
netrc.c
netrc.h
non-ascii.c
non-ascii.h
nonblock.c
nonblock.h
nwlib.c
nwos.c
openldap.c
parsedate.c
parsedate.h
pingpong.c
pingpong.h
pop3.c emailL Added reference to RFC8314 for implicit TLS 2019-04-11 01:19:15 +01:00
pop3.h
progress.c
progress.h
psl.c
psl.h
rand.c
rand.h
rtsp.c pipelining: removed 2019-04-06 22:49:50 +02:00
rtsp.h
security.c source: fix two 'nread' may be used uninitialized warnings 2019-03-05 13:03:43 +01:00
select.c
select.h
sendf.c WRITEFUNCTION: add missing set_in_callback around callback 2019-05-05 11:09:30 +02:00
sendf.h
setopt.c ssh: define USE_SSH if SSH is enabled (any backend) 2019-05-06 10:14:17 +02:00
setopt.h
setup-os400.h
setup-vms.h
sha256.c
share.c
share.h
sigpipe.h
slist.c
slist.h
smb.c
smb.h
smtp.c emailL Added reference to RFC8314 for implicit TLS 2019-04-11 01:19:15 +01:00
smtp.h
sockaddr.h
socks_gssapi.c
socks_sspi.c
socks.c socks: fix error message 2019-04-08 23:30:53 +02:00
socks.h
speedcheck.c
speedcheck.h
splay.c
splay.h
ssh-libssh.c
ssh.c ssh: loop the state machine if not done and not blocking 2019-03-05 07:57:11 +01:00
ssh.h
strcase.c
strcase.h
strdup.c
strdup.h
strerror.c
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
system_win32.c
system_win32.h
telnet.c
telnet.h
tftp.c
tftp.h
timeval.c build: fix Codacy/CppCheck warnings 2019-04-11 21:08:44 +02:00
timeval.h
transfer.c pipelining: removed 2019-04-06 22:49:50 +02:00
transfer.h
url.c ssh: define USE_SSH if SSH is enabled (any backend) 2019-05-06 10:14:17 +02:00
url.h pipelining: removed 2019-04-06 22:49:50 +02:00
urlapi-int.h
urlapi.c urlapi: add CURLUPART_ZONEID to set and get 2019-05-05 15:52:46 +02:00
urldata.h ssh: define USE_SSH if SSH is enabled (any backend) 2019-05-06 10:14:17 +02:00
version.c ssh: define USE_SSH if SSH is enabled (any backend) 2019-05-06 10:14:17 +02:00
warnless.c
warnless.h
wildcard.c
wildcard.h
x509asn1.c
x509asn1.h