curl/lib
Daniel Stenberg 115c9e27f5
ftp: add 'prefer_ascii' to the transfer state struct
... and make sure the code never updates 'set.prefer_ascii' as it breaks
handle reuse which should use the setting as the user specified it.

Added test 1569 to verify: it first makes an FTP transfer with ';type=A'
and then another without type on the same handle and the second should
then use binary. Previously, curl failed this.

Closes #6578
2021-02-09 14:06:28 +01:00
..
vauth sasl: support SCRAM-SHA-1 and SCRAM-SHA-256 via libgsasl 2021-02-09 10:53:25 +01:00
vquic lib: use int type for more port variables 2021-02-09 02:53:31 -05:00
vssh ftp: never set data->set.ftp_append outside setopt 2021-02-08 22:44:37 +01:00
vtls vtls: initial implementation of rustls backend 2021-02-09 11:06:18 +01:00
.gitattributes
.gitignore
altsvc.c
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c hostip: remove conn->data from resolver functions 2021-01-22 08:25:09 +01:00
asyn-thread.c lib: drop USE_SOCKETPAIR in favor of CURL_DISABLE_SOCKETPAIR 2021-02-09 02:47:51 -05:00
asyn.h hostip: remove conn->data from resolver functions 2021-01-22 08:25:09 +01:00
base64.c
c-hyper.c hyper: fix CONNECT to set 'data' as userdata 2021-01-30 17:51:47 +01:00
c-hyper.h
checksrc.pl
CMakeLists.txt cmake: fix import library name for non-MS compiler on Windows 2021-02-09 02:43:04 -05:00
config-amigaos.h
config-dos.h
config-mac.h
config-os400.h
config-plan9.h
config-riscos.h
config-tpf.h
config-vxworks.h
config-win32.h
config-win32ce.h
conncache.c lib: more conn->data cleanups 2021-01-19 09:14:51 +01:00
conncache.h lib: more conn->data cleanups 2021-01-19 09:14:51 +01:00
connect.c lib: use int type for more port variables 2021-02-09 02:53:31 -05:00
connect.h lib: use int type for more port variables 2021-02-09 02:53:31 -05:00
content_encoding.c lib: remove conn->data uses 2021-01-24 18:15:03 +01:00
content_encoding.h chunk/encoding: remove conn->data references 2021-01-21 13:19:58 +01:00
cookie.c
cookie.h copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
curl_addrinfo.c copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01: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
curl_get_line.h
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
curl_gssapi.h
curl_hmac.h
curl_krb5.h lib: remove conn->data uses 2021-01-26 15:19:41 +01:00
curl_ldap.h
curl_md4.h
curl_md5.h
curl_memory.h
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c curl_multibyte: fall back to local code page stat/access on Windows 2021-02-09 02:47:05 -05:00
curl_multibyte.h
curl_ntlm_core.c
curl_ntlm_core.h
curl_ntlm_wb.c lib: remove conn->data uses 2021-01-24 18:15:03 +01:00
curl_ntlm_wb.h lib: remove conn->data uses 2021-01-24 18:15:03 +01:00
curl_path.c curl_path: remove conn->data use 2021-01-19 17:08:49 +01:00
curl_path.h curl_path: remove conn->data use 2021-01-19 17:08:49 +01:00
curl_printf.h
curl_range.c curl_range: remove conn->data 2021-01-20 14:59:11 +01:00
curl_range.h curl_range: remove conn->data 2021-01-20 14:59:11 +01:00
curl_rtmp.c lib: remove conn->data uses 2021-01-24 18:15:03 +01:00
curl_rtmp.h
curl_sasl.c sasl: support SCRAM-SHA-1 and SCRAM-SHA-256 via libgsasl 2021-02-09 10:53:25 +01:00
curl_sasl.h sasl: support SCRAM-SHA-1 and SCRAM-SHA-256 via libgsasl 2021-02-09 10:53:25 +01:00
curl_setup_once.h
curl_setup.h vtls: initial implementation of rustls backend 2021-02-09 11:06:18 +01:00
curl_sha256.h
curl_sspi.c
curl_sspi.h
curl_threads.c
curl_threads.h
curlx.h
dict.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
dict.h
doh.c hostip: remove conn->data from resolver functions 2021-01-22 08:25:09 +01:00
doh.h hostip: remove conn->data from resolver functions 2021-01-22 08:25:09 +01:00
dotdot.c
dotdot.h
dynbuf.c
dynbuf.h
easy.c hostip: remove conn->data from resolver functions 2021-01-22 08:25:09 +01:00
easygetopt.c
easyif.h
easyoptions.c easyoptions: add the missing AWS_SIGV4 2021-01-15 13:13:32 +01:00
easyoptions.h
escape.c
escape.h
file.c curl_range: remove conn->data 2021-01-20 14:59:11 +01:00
file.h
fileinfo.c
fileinfo.h
firefox-db2pem.sh
formdata.c
formdata.h copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
ftp.c ftp: add 'prefer_ascii' to the transfer state struct 2021-02-09 14:06:28 +01:00
ftp.h lib: save a bit of space with some structure packing 2021-01-20 22:52:34 -05:00
ftplistparser.c ftplistparser: remove use of conn->data 2021-01-19 09:22:38 +01:00
ftplistparser.h
getenv.c
getinfo.c urldata: move 'followlocation' to UrlState 2021-02-09 08:22:45 +01:00
getinfo.h
gopher.c vtls: reduce conn->data use 2021-01-19 09:14:40 +01:00
gopher.h gopher: Implement secure gopher protocol. 2020-12-15 12:58:12 +01:00
hash.c
hash.h
hmac.c
hostasyn.c hostip: remove conn->data from resolver functions 2021-01-22 08:25:09 +01:00
hostcheck.c
hostcheck.h
hostip4.c hostip: remove conn->data from resolver functions 2021-01-22 08:25:09 +01:00
hostip6.c hostip: remove conn->data from resolver functions 2021-01-22 08:25:09 +01:00
hostip.c hostip: fix build with sync resolver 2021-02-05 08:49:22 +01:00
hostip.h hostip/proxy: remove conn->data use 2021-01-26 10:04:47 +01:00
hostsyn.c
hsts.c copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
hsts.h
http2.c urldata: remove duplicate 'upkeep_interval_ms' from connectdata 2021-01-27 09:19:08 +01:00
http2.h lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
http_aws_sigv4.c http: improve AWS HTTP v4 Signature auth 2021-01-30 23:48:22 +01:00
http_aws_sigv4.h lib: remove conn->data uses 2021-01-24 18:15:03 +01:00
http_chunks.c Curl_chunker: shrink the struct 2021-01-27 08:48:08 +01:00
http_chunks.h Curl_chunker: shrink the struct 2021-01-27 08:48:08 +01:00
http_digest.c lib: remove conn->data uses 2021-01-24 18:15:03 +01:00
http_digest.h lib: remove conn->data uses 2021-01-24 18:15:03 +01:00
http_negotiate.c lib: remove conn->data uses 2021-01-24 18:15:03 +01:00
http_negotiate.h lib: remove conn->data uses 2021-01-24 18:15:03 +01:00
http_ntlm.c lib: more conn->data cleanups 2021-01-19 09:14:51 +01:00
http_ntlm.h lib: more conn->data cleanups 2021-01-19 09:14:51 +01:00
http_proxy.c http_proxy: fix typo in http_proxy.c 2021-02-09 08:21:56 +01:00
http_proxy.h hostip/proxy: remove conn->data use 2021-01-26 10:04:47 +01:00
http.c ftp: add 'prefer_ascii' to the transfer state struct 2021-02-09 14:06:28 +01:00
http.h lib: remove conn->data uses 2021-01-26 15:19:41 +01:00
idn_win32.c
if2ip.c
if2ip.h
imap.c pingpong: rename the curl_pp_transfer enum to use PP prefix 2021-02-04 23:06:03 +01:00
imap.h
inet_ntop.c
inet_ntop.h
inet_pton.c
inet_pton.h
krb5.c lib: remove conn->data uses 2021-01-26 15:19:41 +01:00
ldap.c lib: remove conn->data uses 2021-01-26 15:19:41 +01:00
libcurl.plist
libcurl.rc
libcurl.vers.in
llist.c
llist.h
Makefile.am
makefile.amiga
makefile.dj copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
Makefile.inc vtls: initial implementation of rustls backend 2021-02-09 11:06:18 +01:00
Makefile.m32
Makefile.netware
Makefile.vxworks
md4.c
md5.c
memdebug.c
memdebug.h
mime.c mime: make sure setting MIMEPOST to NULL resets properly 2021-01-15 08:33:27 +01:00
mime.h copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
mk-ca-bundle.pl copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
mk-ca-bundle.vbs
mprintf.c
mqtt.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
mqtt.h
multi.c vtls: initial implementation of rustls backend 2021-02-09 11:06:18 +01:00
multihandle.h lib: drop USE_SOCKETPAIR in favor of CURL_DISABLE_SOCKETPAIR 2021-02-09 02:47:51 -05:00
multiif.h lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
netrc.c
netrc.h
non-ascii.c
non-ascii.h
nonblock.c
nonblock.h
nwlib.c
nwos.c
openldap.c hostip/proxy: remove conn->data use 2021-01-26 10:04:47 +01:00
optiontable.pl
parsedate.c
parsedate.h
pingpong.c pingpong: remove the 'conn' struct member 2021-01-26 10:12:59 +01:00
pingpong.h pingpong: rename the curl_pp_transfer enum to use PP prefix 2021-02-04 23:06:03 +01:00
pop3.c pingpong: rename the curl_pp_transfer enum to use PP prefix 2021-02-04 23:06:03 +01:00
pop3.h lib: save a bit of space with some structure packing 2021-01-20 22:52:34 -05:00
progress.c lib: more conn->data cleanups 2021-01-19 09:14:51 +01:00
progress.h lib: more conn->data cleanups 2021-01-19 09:14:51 +01:00
psl.c
psl.h
quic.h quic: remove conn->data use 2021-01-19 16:56:35 +01:00
rand.c
rand.h
rename.c
rename.h
rtsp.c lib: remove conn->data uses 2021-01-24 18:15:03 +01:00
rtsp.h lib: remove conn->data uses 2021-01-24 18:15:03 +01:00
select.c select: convert Curl_select() to private static function 2021-01-27 09:05:31 +01:00
select.h select: convert Curl_select() to private static function 2021-01-27 09:05:31 +01:00
sendf.c lib: remove conn->data uses 2021-01-26 15:19:41 +01:00
sendf.h lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
setopt.c ftp: never set data->set.ftp_append outside setopt 2021-02-08 22:44:37 +01:00
setopt.h
setup-os400.h
setup-vms.h
setup-win32.h
sha256.c
share.c urldata: make magic be the first struct field 2021-01-20 08:51:01 +01:00
share.h urldata: make magic be the first struct field 2021-01-20 08:51:01 +01:00
sigpipe.h
slist.c
slist.h
smb.c transfer: remove conn->data use 2021-01-19 17:07:02 +01:00
smb.h
smtp.c pingpong: rename the curl_pp_transfer enum to use PP prefix 2021-02-04 23:06:03 +01:00
smtp.h lib: save a bit of space with some structure packing 2021-01-20 22:52:34 -05:00
sockaddr.h
socketpair.c
socketpair.h lib: drop USE_SOCKETPAIR in favor of CURL_DISABLE_SOCKETPAIR 2021-02-09 02:47:51 -05:00
socks_gssapi.c lib: more conn->data cleanups 2021-01-19 09:14:51 +01:00
socks_sspi.c lib: more conn->data cleanups 2021-01-19 09:14:51 +01:00
socks.c hostip/proxy: remove conn->data use 2021-01-26 10:04:47 +01:00
socks.h lib: more conn->data cleanups 2021-01-19 09:14:51 +01:00
speedcheck.c
speedcheck.h
splay.c
splay.h
strcase.c
strcase.h
strdup.c
strdup.h
strerror.c copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
system_win32.c
system_win32.h
telnet.c lib: save a bit of space with some structure packing 2021-01-20 22:52:34 -05:00
telnet.h
tftp.c ftp: add 'prefer_ascii' to the transfer state struct 2021-02-09 14:06:28 +01:00
tftp.h
timeval.c
timeval.h
transfer.c ftp: add 'prefer_ascii' to the transfer state struct 2021-02-09 14:06:28 +01:00
transfer.h transfer: remove conn->data use 2021-01-19 17:07:02 +01:00
url.c lib: use int type for more port variables 2021-02-09 02:53:31 -05:00
url.h url: reduce conn->data references 2021-01-26 10:00:59 +01:00
urlapi-int.h
urlapi.c
urldata.h ftp: add 'prefer_ascii' to the transfer state struct 2021-02-09 14:06:28 +01:00
version_win32.c
version_win32.h
version.c
warnless.c warnless: remove curlx_ultosi 2021-01-26 16:30:29 +01:00
warnless.h warnless.h: remove the prototype for curlx_ultosi 2021-01-26 16:32:27 +01:00
wildcard.c
wildcard.h
x509asn1.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
x509asn1.h lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00