curl/lib
Daniel Stenberg c9b60f0053
http: restore header folding behavior
Folded header lines will now get passed through like before. The headers
API is adapted and will provide the content unfolded.

Added test 1274 and extended test 1940 to verify.

Reported-by: Petr Pisar
Fixes #8844
Closes #8899
2022-05-24 23:33:47 +02:00
..
vauth ntlm: (void) typecast msnprintf() where we ignore return code 2022-05-23 08:13:48 +02:00
vquic ngtcp2: Allow curl to send larger UDP datagrams 2022-05-20 17:50:38 +02:00
vssh lib/vssh/wolfssh.h: removed 2022-05-17 17:31:02 +02:00
vtls wolfssl: correct the failf() message when a handle can't be made 2022-05-19 19:05:17 +02:00
.checksrc lib: don't use strerror() 2021-09-09 07:53:42 +02:00
.gitattributes
.gitignore macos: set .plist version in autoconf 2022-04-20 15:26:13 +02:00
altsvc.c links: update dead links 2022-05-23 08:40:13 +02:00
altsvc.h
amigaos.c copyright: update copyright year ranges to 2021 2021-05-26 08:18:11 +02:00
amigaos.h
arpa_telnet.h
asyn-ares.c misc: update copyright year ranges 2022-04-25 09:31:09 +02:00
asyn-thread.c strerror.h: remove the #include from files not using it 2021-09-09 07:53:42 +02:00
asyn.h
base64.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
bufref.c
bufref.h
c-hyper.c hyper: use 'alt-used' 2022-05-23 16:47:17 +02:00
c-hyper.h c-hyper: initial step for 100-continue support 2021-08-13 23:18:21 +02:00
CMakeLists.txt cmake: don't set _USRDLL on a static Windows build 2021-11-18 11:26:30 +01:00
config-amigaos.h Get rid of the unused HAVE_SIG_ATOMIC_T et. al. 2021-07-23 12:40:42 -07:00
config-dos.h misc: remove the final watcom references 2022-01-17 08:49:25 +01:00
config-mac.h Get rid of the unused HAVE_SIG_ATOMIC_T et. al. 2021-07-23 12:40:42 -07:00
config-os400.h msh3: add support for QUIC and HTTP/3 using msh3 2022-04-10 18:23:04 +02:00
config-plan9.h Get rid of the unused HAVE_SIG_ATOMIC_T et. al. 2021-07-23 12:40:42 -07:00
config-riscos.h config: remove HAVE_WINSOCK_H definition 2021-09-29 15:54:33 +02:00
config-win32.h misc: remove the final watcom references 2022-01-17 08:49:25 +01:00
config-win32ce.h misc: remove the final watcom references 2022-01-17 08:49:25 +01:00
conncache.c conncache: remove name arg from Curl_conncache_find_bundle 2022-04-25 16:25:42 +02:00
conncache.h conncache: remove name arg from Curl_conncache_find_bundle 2022-04-25 16:25:42 +02:00
connect.c ngtcp2: Allow curl to send larger UDP datagrams 2022-05-20 17:50:38 +02:00
connect.h
content_encoding.c lib: avoid fallthrough cases in switch statements 2021-09-29 10:00:52 +02:00
content_encoding.h
cookie.c cookie: fix false positive "potentially uninitialized local variable" 2022-05-24 12:16:08 +02:00
cookie.h cookies: track expiration in jar to optimize removals 2021-06-08 09:31:19 +02:00
curl_addrinfo.c cmake: fix support for UnixSockets feature on Win32 2021-06-21 14:52:27 +02:00
curl_addrinfo.h
curl_base64.h lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
curl_config.h.cmake cmake: add libpsl support 2022-05-19 15:29:55 +02:00
curl_ctype.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
curl_ctype.h lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
curl_des.c misc: update copyright year ranges 2022-03-05 09:41:24 +01:00
curl_des.h misc: update copyright year ranges 2022-03-05 09:41:24 +01:00
curl_endian.c curl_endian: remove the unused Curl_write64_le function 2021-06-20 23:38:32 +02:00
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 gssapi: initialize gss_buffer_desc strings 2022-05-12 14:12:41 +02:00
curl_gssapi.h
curl_hmac.h sha256/md5: return errors when init fails 2021-12-13 15:54:16 +01:00
curl_krb5.h
curl_ldap.h
curl_md4.h
curl_md5.h sha256/md5: return errors when init fails 2021-12-13 15:54:16 +01:00
curl_memory.h
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c misc: update copyright year ranges 2022-04-25 09:31:09 +02:00
curl_multibyte.h
curl_ntlm_core.c wolfSSL: explicitly use compatibility layer 2022-05-17 16:58:03 +02:00
curl_ntlm_core.h wolfSSL: explicitly use compatibility layer 2022-05-17 16:58:03 +02:00
curl_ntlm_wb.c cleanup: URL updates 2021-08-12 18:41:13 +00:00
curl_ntlm_wb.h
curl_path.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
curl_path.h
curl_printf.h
curl_range.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
curl_range.h
curl_rtmp.c
curl_rtmp.h
curl_sasl.c English: use American spelling consistently 2022-04-05 14:55:47 +02:00
curl_sasl.h urldata: remove conn->bits.user_passwd 2022-02-16 10:28:31 +01:00
curl_setup_once.h Get rid of the unused HAVE_SIG_ATOMIC_T et. al. 2021-07-23 12:40:42 -07:00
curl_setup.h msh3: add support for QUIC and HTTP/3 using msh3 2022-04-10 18:23:04 +02:00
curl_sha256.h misc: allow curl to build with wolfssl --enable-opensslextra 2022-01-21 23:04:02 +01:00
curl_sspi.c misc: update copyright year range 2021-12-30 14:17:47 +01:00
curl_sspi.h
curl_threads.c
curl_threads.h
curlx.h
dict.c urldata: remove conn->bits.user_passwd 2022-02-16 10:28:31 +01:00
dict.h
doh.c doh: remove UNITTEST macro definition 2022-05-24 12:46:22 +02:00
doh.h cleanup: spell DoH with a lowercase o 2021-07-16 23:53:13 +02:00
dotdot.c docs: update IETF links to use datatracker 2022-01-21 23:06:36 +01:00
dotdot.h
dynbuf.c
dynbuf.h
easy.c conn: fix typo 'connnection' -> 'connection' in two function names 2022-04-27 11:50:13 +02:00
easygetopt.c
easyif.h
easyoptions.c mime: use percent-escaping for multipart form field and file names 2021-11-15 10:40:03 +01:00
easyoptions.h
escape.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
escape.h lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
file.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
file.h
fileinfo.c
fileinfo.h
formdata.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
formdata.h
ftp.c lib: remove exclamation marks 2022-04-16 11:55:05 +02:00
ftp.h
ftplistparser.c
ftplistparser.h
getenv.c
getinfo.c CURLINFO_CAPATH/CAINFO: get the default CA paths from libcurl 2022-05-23 08:44:29 +02:00
getinfo.h
gopher.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
gopher.h
h2h3.c misc: spelling fixes 2022-03-30 10:49:06 +02:00
h2h3.h h2h3: fix compiler warning due to function prototype mismatch 2022-02-14 16:45:14 -05:00
hash.c hash: lazy-alloc the table in Curl_hash_add() 2021-12-10 23:16:43 +01:00
hash.h hash: lazy-alloc the table in Curl_hash_add() 2021-12-10 23:16:43 +01:00
headers.c http: restore header folding behavior 2022-05-24 23:33:47 +02:00
headers.h headers.h: make Curl_headers_push() be CURLE_OK when not built 2022-03-24 00:52:34 +01:00
hmac.c English: use American spelling consistently 2022-04-05 14:55:47 +02:00
hostasyn.c strerror.h: remove the #include from files not using it 2021-09-09 07:53:42 +02:00
hostip4.c strerror.h: remove the #include from files not using it 2021-09-09 07:53:42 +02:00
hostip6.c strerror.h: remove the #include from files not using it 2021-09-09 07:53:42 +02:00
hostip.c conn: fix typo 'connnection' -> 'connection' in two function names 2022-04-27 11:50:13 +02:00
hostip.h hash: lazy-alloc the table in Curl_hash_add() 2021-12-10 23:16:43 +01:00
hostsyn.c strerror.h: remove the #include from files not using it 2021-09-09 07:53:42 +02:00
hsts.c links: update dead links 2022-05-23 08:40:13 +02:00
hsts.h hsts: CURLSTS_FAIL from hsts read callback should fail transfer 2021-09-16 12:36:12 +02:00
http2.c http2: always debug print stream id in decimal with %u 2022-05-12 01:31:32 -04:00
http2.h version: turn version number functions into returning void 2021-06-30 23:23:34 +02:00
http_aws_sigv4.c aws-sigv4: fix potentional NULL pointer arithmetic 2022-05-11 10:52:56 +02:00
http_aws_sigv4.h
http_chunks.c header api: add curl_easy_header and curl_easy_nextheader 2022-03-22 08:24:22 +01:00
http_chunks.h
http_digest.c lib: fix type of len passed to *printf's %*s 2021-06-30 23:53:58 +02:00
http_digest.h
http_negotiate.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
http_negotiate.h
http_ntlm.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
http_ntlm.h
http_proxy.c http_proxy/hyper: handle closed connections 2022-05-06 11:01:54 +02:00
http_proxy.h header api: add curl_easy_header and curl_easy_nextheader 2022-03-22 08:24:22 +01:00
http.c http: restore header folding behavior 2022-05-24 23:33:47 +02:00
http.h openssl: don't leak the SRP credentials in redirects either 2022-04-25 22:34:40 +02:00
idn_win32.c misc: update copyright year ranges 2022-04-25 09:31:09 +02:00
if2ip.c misc: remove unused data when IPv6 is not supported 2022-02-13 12:08:50 +01:00
if2ip.h misc: remove unused data when IPv6 is not supported 2022-02-13 12:08:50 +01:00
imap.c lib: remove exclamation marks 2022-04-16 11:55:05 +02:00
imap.h
inet_ntop.c configure/cmake: remove checks for unused inet_ntoa and inet_ntoa_r 2021-06-18 13:52:18 +02:00
inet_ntop.h
inet_pton.c checksrc: detect more kinds of NULL comparisons we avoid 2021-12-27 23:39:26 +01:00
inet_pton.h
krb5.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
ldap.c lib: remove exclamation marks 2022-04-16 11:55:05 +02:00
libcurl.plist.in macos: set .plist version in autoconf 2022-04-20 15:26:13 +02:00
libcurl.rc libcurl.rc: switch out the copyright symbol for plain ASCII 2021-09-26 23:10:03 +02:00
libcurl.vers.in
llist.c llist: remove redundant code, branch will not be executed 2021-09-24 12:49:53 +02:00
llist.h
Makefile.am scripts: move three scripts from lib/ to scripts/ 2022-03-23 15:26:11 +01:00
makefile.amiga
makefile.dj
Makefile.inc timediff.[ch]: add curlx helper functions for timeval conversions 2022-04-17 13:11:27 +02:00
Makefile.m32 Makefile.m32: delete obsolete options, improve -On [ci skip] 2022-05-24 17:04:38 +00:00
md4.c wolfSSL: explicitly use compatibility layer 2022-05-17 16:58:03 +02:00
md5.c md5: check md5_init_func return value 2022-01-23 01:56:59 -05:00
memdebug.c
memdebug.h
mime.c lib: remove exclamation marks 2022-04-16 11:55:05 +02:00
mime.h mime: use a define instead of the magic number 24 2022-02-13 11:46:18 +01:00
mprintf.c mprintf: ignore clang non-literal format string 2022-05-16 18:18:12 +02:00
mqtt.c mqtt: better handling of TCP disconnect mid-message 2022-03-29 08:43:14 +02:00
mqtt.h
multi.c conn: fix typo 'connnection' -> 'connection' in two function names 2022-04-27 11:50:13 +02:00
multihandle.h multi: handle errors returned from socket/timer callbacks 2021-12-06 14:55:52 +01:00
multiif.h conn: fix typo 'connnection' -> 'connection' in two function names 2022-04-27 11:50:13 +02:00
netrc.c Curl_parsenetrc: don't access local pwbuf outside of scope 2022-05-16 09:56:26 +02:00
netrc.h
nonblock.c nonblock: restore setsockopt method to curlx_nonblock 2022-03-09 09:13:42 +01:00
nonblock.h
openldap.c urldata: remove conn->bits.user_passwd 2022-02-16 10:28:31 +01:00
optiontable.pl easyoptions: add the two new PRE* options 2021-09-29 14:48:02 +02:00
parsedate.c
parsedate.h
pingpong.c pop3/smtp: return *WEIRD_SERVER_REPLY when not understood 2022-03-29 14:01:53 +02:00
pingpong.h
pop3.c lib: remove exclamation marks 2022-04-16 11:55:05 +02:00
pop3.h
progress.c progress: make trspeed avoid floats 2021-09-01 08:35:31 +02:00
progress.h
psl.c
psl.h
quic.h quic: add Curl_quic_idle 2022-05-16 18:19:08 +02:00
rand.c misc: update copyright year ranges 2022-04-25 09:31:09 +02:00
rand.h
rename.c
rename.h
rtsp.c rtsp: don't let CSeq error override earlier errors 2022-03-18 03:24:37 -04:00
rtsp.h configure: disable RTSP when hyper is selected 2021-06-10 08:42:46 +02:00
select.c timediff.[ch]: add curlx helper functions for timeval conversions 2022-04-17 13:11:27 +02:00
select.h TPF: drop support 2022-02-04 08:05:35 +01:00
sendf.c lib: remove exclamation marks 2022-04-16 11:55:05 +02:00
sendf.h header api: add curl_easy_header and curl_easy_nextheader 2022-03-22 08:24:22 +01:00
setopt.c opts: deprecate RANDOM_FILE and EGDSOCKET 2022-05-17 11:05:54 +02:00
setopt.h
setup-os400.h
setup-vms.h
setup-win32.h misc: update copyright years 2021-10-15 17:07:19 +02:00
sha256.c sha256: Fix minimum OpenSSL version 2022-02-17 00:35:23 -05:00
share.c hash: lazy-alloc the table in Curl_hash_add() 2021-12-10 23:16:43 +01:00
share.h
sigpipe.h
slist.c
slist.h
smb.c urldata: remove conn->bits.user_passwd 2022-02-16 10:28:31 +01:00
smb.h
smtp.c lib: remove exclamation marks 2022-04-16 11:55:05 +02:00
smtp.h
sockaddr.h
socketpair.c misc: copyright year range updates 2021-07-19 09:20:58 +02:00
socketpair.h
socks_gssapi.c gssapi: initialize gss_buffer_desc strings 2022-05-12 14:12:41 +02:00
socks_sspi.c lib: fixing comment spelling typos in lib files 2021-10-22 22:53:44 +02:00
socks.c lib: remove exclamation marks 2022-04-16 11:55:05 +02:00
socks.h English: use American spelling consistently 2022-04-05 14:55:47 +02:00
speedcheck.c
speedcheck.h
splay.c checksrc: detect more kinds of NULL comparisons we avoid 2021-12-27 23:39:26 +01:00
splay.h
strcase.c strcase: some optimisations 2022-05-19 12:03:57 +02:00
strcase.h url: check sasl additional parameters for connection reuse. 2022-04-25 11:44:05 +02:00
strdup.c misc: update incorrect copyright year ranges 2021-08-16 11:21:47 +02:00
strdup.h misc: update incorrect copyright year ranges 2021-08-16 11:21:47 +02:00
strerror.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
system_win32.c version_win32: Check build number and platform id 2021-12-02 03:39:14 -05:00
system_win32.h
telnet.c lib: remove exclamation marks 2022-04-16 11:55:05 +02:00
telnet.h
tftp.c checkprefix: remove strlen calls 2022-02-21 08:18:59 +01:00
tftp.h
timediff.c timediff.[ch]: add curlx helper functions for timeval conversions 2022-04-17 13:11:27 +02:00
timediff.h timediff.[ch]: add curlx helper functions for timeval conversions 2022-04-17 13:11:27 +02:00
timeval.c copyright: update copyright year ranges to 2021 2021-05-26 08:18:11 +02:00
timeval.h misc: update copyright year ranges 2022-04-25 09:31:09 +02:00
transfer.c transfer: Fix potential NULL pointer dereference 2022-05-16 21:18:46 +02:00
transfer.h misc: remove strlen for Curl_checkheaders + Curl_checkProxyheaders 2022-02-10 08:51:06 +01:00
url.c socks: support unix sockets for socks proxy 2022-05-19 15:35:03 +02:00
url.h url: make Curl_disconnect return void 2022-01-20 09:07:30 +01:00
urlapi-int.h urlapi: make Curl_is_absolute_url always use MAX_SCHEME_LEN 2021-11-25 08:33:48 +01:00
urlapi.c urlapi: reject percent-decoding host name into separator bytes 2022-05-09 12:50:34 +02:00
urldata.h http: restore header folding behavior 2022-05-24 23:33:47 +02:00
version_win32.c misc: update copyright year ranges 2022-03-05 09:41:24 +01:00
version_win32.h misc: update copyright year range 2021-12-30 14:17:47 +01:00
version.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
warnless.c misc: update copyright year ranges 2022-04-25 09:31:09 +02:00
warnless.h misc: update copyright year ranges 2022-04-25 09:31:09 +02:00
wildcard.c
wildcard.h