curl/lib
Daniel Stenberg 5a9d7c4e68
pop3/smtp: return *WEIRD_SERVER_REPLY when not understood
This leaves the CURLE_RECV_ERROR error code for explicit failure to
receive network data and allows users to better separate the problems.

Ref #8356
Reported-by: Rianov Viacheslav
Closes #8506
2022-03-29 14:01:53 +02:00
..
vauth ntlm: remove unused feature defines 2022-02-15 14:12:41 +01:00
vquic ngtcp2: update to work after recent ngtcp2 updates 2022-03-26 18:35:23 +01:00
vssh libssh: unstick SFTP transfers when done event-based 2022-03-21 17:41:20 +01:00
vtls gtls: fix build for disabled TLS-SRP 2022-03-22 14:24:08 -04:00
.checksrc lib: don't use strerror() 2021-09-09 07:53:42 +02:00
.gitattributes
.gitignore
altsvc.c docs: update IETF links to use datatracker 2022-01-21 23:06:36 +01: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 asyn-ares: ares_getaddrinfo needs no happy eyeballs timer 2021-12-14 15:34:43 +01: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: buffer reference support 2021-04-22 09:05:53 +02:00
bufref.h bufref: buffer reference support 2021-04-22 09:05:53 +02:00
c-hyper.c hyper: fix status_line() return code 2022-03-10 17:35:46 +01: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 config: remove HAVE_WINSOCK_H definition 2021-09-29 15:54:33 +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: make conncache_add_bundle return the pointer 2022-01-30 11:59:43 +01:00
conncache.h
connect.c connect: make Curl_getconnectinfo work with conn cache from share handle 2022-03-08 09:22:09 +01: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 checksrc: detect more kinds of NULL comparisons we avoid 2021-12-27 23:39:26 +01: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: remove HAVE_WINSOCK_H definition 2021-09-29 15:54:36 +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 curl_gssapi: fix build warnings by removing const 2021-10-19 10:34:20 +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 krb5: remove the unused 'overhead' function 2021-04-25 14:51:34 +02:00
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 lib: fix some misuse of curlx_convert_wchar_to_UTF8 2022-03-18 03:20:03 -04:00
curl_multibyte.h
curl_ntlm_core.c ntlm: remove unused feature defines 2022-02-15 14:12:41 +01:00
curl_ntlm_core.h ntlm: remove unused feature defines 2022-02-15 14:12:41 +01: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 conn: add 'attach' to protocol handler, make libssh2 use it 2021-05-17 17:57:50 +02:00
curl_rtmp.h
curl_sasl.c urldata: remove conn->bits.user_passwd 2022-02-16 10:28:31 +01: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 http: make Curl_compareheader() take string length arguments too 2022-02-07 14:37:58 +01: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 misc: reduce strlen() calls with Curl_dyn_add() 2022-02-09 13:52:47 +01: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 lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01: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 ftp: provide error message for control bytes in path 2022-02-17 08:24:14 +01:00
ftp.h
ftplistparser.c tidy-up: make conditional checks more consistent 2021-04-22 09:10:17 +02:00
ftplistparser.h
getenv.c
getinfo.c
getinfo.h
gopher.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
gopher.h
h2h3.c h2h3: fix typo 2022-03-01 13:09:02 -05: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 lib: make the headers API depend on --enable-headers-api 2022-03-22 08:24:26 +01: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
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 hostip: avoid unused parameter error in Curl_resolv_check 2022-02-24 14:17:33 +01: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 docs: update IETF links to use datatracker 2022-01-21 23:06:36 +01:00
hsts.h hsts: CURLSTS_FAIL from hsts read callback should fail transfer 2021-09-16 12:36:12 +02:00
http2.c header api: add curl_easy_header and curl_easy_nextheader 2022-03-22 08:24:22 +01:00
http2.h version: turn version number functions into returning void 2021-06-30 23:23:34 +02:00
http_aws_sigv4.c misc: remove strlen for Curl_checkheaders + Curl_checkProxyheaders 2022-02-10 08:51:06 +01: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 header api: add curl_easy_header and curl_easy_nextheader 2022-03-22 08:24:22 +01:00
http_proxy.h header api: add curl_easy_header and curl_easy_nextheader 2022-03-22 08:24:22 +01:00
http.c header api: add curl_easy_header and curl_easy_nextheader 2022-03-22 08:24:22 +01:00
http.h misc: remove strlen for Curl_checkheaders + Curl_checkProxyheaders 2022-02-10 08:51:06 +01:00
idn_win32.c lib: fix some misuse of curlx_convert_wchar_to_UTF8 2022-03-18 03:20:03 -04: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 urldata: remove conn->bits.user_passwd 2022-02-16 10:28:31 +01: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 urldata: remove conn->bits.user_passwd 2022-02-16 10:28:31 +01:00
libcurl.plist
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 header api: add curl_easy_header and curl_easy_nextheader 2022-03-22 08:24:22 +01:00
Makefile.m32 Makefile.m32: rename -winssl option to -schannel and tidy up 2021-11-25 17:36:38 +00:00
md4.c checksrc: detect more kinds of NULL comparisons we avoid 2021-12-27 23:39:26 +01:00
md5.c md5: check md5_init_func return value 2022-01-23 01:56:59 -05:00
memdebug.c
memdebug.h
mime.c mime: use a define instead of the magic number 24 2022-02-13 11:46:18 +01:00
mime.h mime: use a define instead of the magic number 24 2022-02-13 11:46:18 +01:00
mprintf.c mprintf: remove strlen calls on empty strings in dprintf_formatf 2022-02-11 23:07:34 +01:00
mqtt.c mqtt: better handling of TCP disconnect mid-message 2022-03-29 08:43:14 +02:00
mqtt.h
multi.c header api: add curl_easy_header and curl_easy_nextheader 2022-03-22 08:24:22 +01:00
multihandle.h multi: handle errors returned from socket/timer callbacks 2021-12-06 14:55:52 +01:00
multiif.h multi: handle errors returned from socket/timer callbacks 2021-12-06 14:55:52 +01:00
netrc.c netrc: skip 'macdef' definitions 2021-06-13 23:44:41 +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 pop3/smtp: return *WEIRD_SERVER_REPLY when not understood 2022-03-29 14:01:53 +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 version: turn version number functions into returning void 2021-06-30 23:23:34 +02:00
rand.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +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 TPF: drop support 2022-02-04 08:05:35 +01:00
select.h TPF: drop support 2022-02-04 08:05:35 +01:00
sendf.c header api: add curl_easy_header and curl_easy_nextheader 2022-03-22 08:24:22 +01:00
sendf.h header api: add curl_easy_header and curl_easy_nextheader 2022-03-22 08:24:22 +01:00
setopt.c misc: remove unused data when IPv6 is not supported 2022-02-13 12:08:50 +01:00
setopt.h
setup-os400.h
setup-vms.h tidy-up: make conditional checks more consistent 2021-04-22 09:10:17 +02:00
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 sigpipe: ignore SIGPIPE when using wolfSSL as well 2021-04-26 12:59:42 +02:00
slist.c
slist.h
smb.c urldata: remove conn->bits.user_passwd 2022-02-16 10:28:31 +01:00
smb.h
smtp.c pop3/smtp: return *WEIRD_SERVER_REPLY when not understood 2022-03-29 14:01:53 +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 lib: fixing comment spelling typos in lib files 2021-10-22 22:53:44 +02:00
socks_sspi.c lib: fixing comment spelling typos in lib files 2021-10-22 22:53:44 +02:00
socks.c socks5: use appropriate ATYP for numerical IP address host names 2022-01-03 22:32:05 +01:00
socks.h
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 lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
strcase.h checkprefix: remove strlen calls 2022-02-21 08:18:59 +01: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 urldata: remove conn->bits.user_passwd 2022-02-16 10:28:31 +01:00
telnet.h
tftp.c checkprefix: remove strlen calls 2022-02-21 08:18:59 +01:00
tftp.h
timeval.c copyright: update copyright year ranges to 2021 2021-05-26 08:18:11 +02:00
timeval.h
transfer.c header api: add curl_easy_header and curl_easy_nextheader 2022-03-22 08:24:22 +01:00
transfer.h misc: remove strlen for Curl_checkheaders + Curl_checkProxyheaders 2022-02-10 08:51:06 +01:00
url.c header api: add curl_easy_header and curl_easy_nextheader 2022-03-22 08:24:22 +01: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: handle "redirects" smarter 2022-02-14 17:56:58 +01:00
urldata.h header api: add curl_easy_header and curl_easy_nextheader 2022-03-22 08:24:22 +01: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 lib/warnless.[ch]: only check for WIN32 and ignore _WIN32 2022-03-23 05:00:10 +01:00
warnless.h lib/warnless.[ch]: only check for WIN32 and ignore _WIN32 2022-03-23 05:00:10 +01:00
wildcard.c
wildcard.h