curl/lib
Stefan Eissing d7b6ce64ce
lib: replace readwrite with write_resp
This clarifies the handling of server responses by folding the code for
the complicated protocols into their protocol handlers. This concerns
mainly HTTP and its bastard sibling RTSP.

The terms "read" and "write" are often used without clear context if
they refer to the connect or the client/application side of a
transfer. This PR uses "read/write" for operations on the client side
and "send/receive" for the connection, e.g. server side. If this is
considered useful, we can revisit renaming of further methods in another
PR.

Curl's protocol handler `readwrite()` method been changed:

```diff
-  CURLcode (*readwrite)(struct Curl_easy *data, struct connectdata *conn,
-                        const char *buf, size_t blen,
-                        size_t *pconsumed, bool *readmore);
+  CURLcode (*write_resp)(struct Curl_easy *data, const char *buf, size_t blen,
+                         bool is_eos, bool *done);
```

The name was changed to clarify that this writes reponse data to the
client side. The parameter changes are:

* `conn` removed as it always operates on `data->conn`
* `pconsumed` removed as the method needs to handle all data on success
* `readmore` removed as no longer necessary
* `is_eos` as indicator that this is the last call for the transfer
  response (end-of-stream).
* `done` TRUE on return iff the transfer response is to be treated as
  finished

This change affects many files only because of updated comments in
handlers that provide no implementation. The real change is that the
HTTP protocol handlers now provide an implementation.

The HTTP protocol handlers `write_resp()` implementation will get passed
**all** raw data of a server response for the transfer. The HTTP/1.x
formatted status and headers, as well as the undecoded response
body. `Curl_http_write_resp_hds()` is used internally to parse the
response headers and pass them on. This method is public as the RTSP
protocol handler also uses it.

HTTP/1.1 "chunked" transport encoding is now part of the general
*content encoding* writer stack, just like other encodings. A new flag
`CLIENTWRITE_EOS` was added for the last client write. This allows
writers to verify that they are in a valid end state. The chunked
decoder will check if it indeed has seen the last chunk.

The general response handling in `transfer.c:466` happens in function
`readwrite_data()`. This mainly operates now like:

```
static CURLcode readwrite_data(data, ...)
{
  do {
    Curl_xfer_recv_resp(data, buf)
    ...
    Curl_xfer_write_resp(data, buf)
    ...
  } while(interested);
  ...
}
```

All the response data handling is implemented in
`Curl_xfer_write_resp()`. It calls the protocol handler's `write_resp()`
implementation if available, or does the default behaviour.

All raw response data needs to pass through this function. Which also
means that anyone in possession of such data may call
`Curl_xfer_write_resp()`.

Closes #12480
2024-01-13 17:23:42 +01:00
..
vauth build: fix some -Wsign-conversion/-Warith-conversion warnings 2023-12-19 12:45:28 +00:00
vquic vquic: extract TLS setup into own source 2024-01-11 10:43:00 +01:00
vssh lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
vtls sectransp: do verify_cert without memdup for blobs 2024-01-10 23:22:52 +01:00
.checksrc lib: don't use strerror() 2021-09-09 07:53:42 +02:00
.gitattributes copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
.gitignore copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
altsvc.c lib: add debug log outputs for CURLE_BAD_FUNCTION_ARGUMENT 2024-01-08 22:48:24 +01:00
altsvc.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
amigaos.c amissl: add missing signal.h include 2023-07-20 23:41:47 +02:00
amigaos.h tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
arpa_telnet.h lib: apache style infof and trace macros/functions 2023-10-26 17:42:54 +02:00
asyn-ares.c lib: add debug log outputs for CURLE_BAD_FUNCTION_ARGUMENT 2024-01-08 22:48:24 +01:00
asyn-thread.c asyn-thread: silence -Wcast-align warning for Windows 2024-01-02 07:50:46 +00:00
asyn.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
base64.c build: fix builds that disable protocols but not digest auth 2023-12-01 23:26:53 -05:00
bufq.c bufq: remove Curl_bufq_skip_and_shift (unused) 2023-09-23 10:50:10 +02:00
bufq.h bufq: remove Curl_bufq_skip_and_shift (unused) 2023-09-23 10:50:10 +02:00
bufref.c lib: rename Curl_strndup to Curl_memdup0 to avoid misunderstanding 2023-12-08 17:22:33 +01:00
bufref.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
c-hyper.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
c-hyper.h hyper: remove hyptransfer->endtask 2023-09-03 18:42:37 +02:00
cf-h1-proxy.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
cf-h1-proxy.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
cf-h2-proxy.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
cf-h2-proxy.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
cf-haproxy.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
cf-haproxy.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
cf-https-connect.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
cf-https-connect.h lib: give source files cf-http.* better fitting names 2023-03-02 08:48:34 +01:00
cf-socket.c vquic: extract TLS setup into own source 2024-01-11 10:43:00 +01:00
cf-socket.h build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
cfilters.c transfer: adjust_pollset improvements 2024-01-07 14:36:25 +01:00
cfilters.h transfer: adjust_pollset improvements 2024-01-07 14:36:25 +01:00
CMakeLists.txt cmake: option to disable install & drop curlu target when unused 2023-11-10 18:24:14 +00:00
config-amigaos.h build: delete HAVE_STDINT_H and HAVE_INTTYPES_H 2023-11-06 17:20:39 +00:00
config-dos.h build: variadic macro tidy-ups 2023-10-27 00:37:34 +00:00
config-mac.h lib: remove TIME_WITH_SYS_TIME 2023-09-28 22:58:36 +02:00
config-os400.h build: delete unused HAVE_{GSSHEIMDAL,GSSMIT,HEIMDAL} 2023-12-16 13:16:52 +00:00
config-plan9.h build: delete HAVE_STDINT_H and HAVE_INTTYPES_H 2023-11-06 17:20:39 +00:00
config-riscos.h build: delete HAVE_STDINT_H and HAVE_INTTYPES_H 2023-11-06 17:20:39 +00:00
config-win32.h windows: simplify detecting and using system headers 2023-12-16 13:13:44 +00:00
config-win32ce.h windows: simplify detecting and using system headers 2023-12-16 13:13:44 +00:00
conncache.c conncache: use the closure handle when disconnecting surplus connections 2023-11-26 17:49:15 +01:00
conncache.h lib: add CURLINFO_CONN_ID and CURLINFO_XFER_ID 2023-06-12 23:53:00 +02:00
connect.c connect: remove margin from eyeballer alloc 2024-01-08 09:30:45 +01:00
connect.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
content_encoding.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
content_encoding.h content_encoding: make Curl_all_content_encodings allocless 2023-11-07 16:35:30 +01:00
cookie.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
cookie.h cookie: reduce variable scope, add const 2023-09-15 22:09:43 +02:00
curl_addrinfo.c misc: fix spelling mistakes 2023-05-23 10:42:09 +02:00
curl_addrinfo.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_base64.h tool: add "variable" support 2023-07-31 11:51:34 +02:00
curl_config.h.cmake build: delete unused HAVE_{GSSHEIMDAL,GSSMIT,HEIMDAL} 2023-12-16 13:16:52 +00:00
curl_ctype.h escape: replace Curl_isunreserved with ISUNRESERVED 2023-09-14 03:07:45 -04:00
curl_des.c nss: remove support for this TLS library 2023-07-29 23:44:28 +02:00
curl_des.h nss: remove support for this TLS library 2023-07-29 23:44:28 +02:00
curl_endian.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_endian.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_fnmatch.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_fnmatch.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_get_line.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_get_line.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_gethostname.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_gethostname.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_gssapi.c gssapi: align global gss_OID_desc vars to silence ld warnings on macOS ventura 2023-03-10 08:04:42 +01:00
curl_gssapi.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_hmac.h build: fix libssh2 + CURL_DISABLE_DIGEST_AUTH + CURL_DISABLE_AWS 2023-11-15 20:57:49 +00:00
curl_krb5.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_ldap.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_md4.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_md5.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_memory.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
curl_memrchr.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_memrchr.h build: delete checks for C89 standard headers 2023-09-26 14:25:10 +00:00
curl_multibyte.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
curl_multibyte.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
curl_ntlm_core.c openssl: fix building with v3 no-deprecated + add CI test 2023-11-23 02:03:02 +00:00
curl_ntlm_core.h nss: remove support for this TLS library 2023-07-29 23:44:28 +02:00
curl_ntlm_wb.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
curl_ntlm_wb.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_path.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
curl_path.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
curl_printf.h curl.h: add CURLE_TOO_LARGE 2023-12-18 10:34:22 +01:00
curl_range.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_range.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_rtmp.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
curl_rtmp.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_sasl.c sasl: fix -Wunused-function compiler warning 2023-11-15 13:00:38 +00:00
curl_sasl.h misc: reduce struct and struct field sizes 2023-01-04 15:36:36 +01:00
curl_setup.h build: fix some -Wsign-conversion/-Warith-conversion warnings 2023-12-19 12:45:28 +00:00
curl_setup_once.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
curl_sha256.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_sspi.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_sspi.h curl_sspi: support more revocation error names in error messages 2023-11-03 03:50:59 -04:00
curl_threads.c mingw: delete support for legacy mingw.org toolchain 2023-09-23 09:12:57 +00:00
curl_threads.h mingw: delete support for legacy mingw.org toolchain 2023-09-23 09:12:57 +00:00
curl_trc.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
curl_trc.h build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
curlx.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
dict.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
dict.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
doh.c build: fix some -Wsign-conversion/-Warith-conversion warnings 2023-12-19 12:45:28 +00:00
doh.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
dynbuf.c curl.h: add CURLE_TOO_LARGE 2023-12-18 10:34:22 +01:00
dynbuf.h build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
dynhds.c http2: header conversion tightening 2023-10-21 14:36:51 +02:00
dynhds.h http2: header conversion tightening 2023-10-21 14:36:51 +02:00
easy.c lib: add debug log outputs for CURLE_BAD_FUNCTION_ARGUMENT 2024-01-08 22:48:24 +01:00
easy_lock.h easy_lock: add a pthread_mutex_t fallback 2023-10-12 23:40:08 -04:00
easygetopt.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
easyif.h Websocket en-/decoding 2023-04-25 23:16:51 +02:00
easyoptions.c CURLOPT_SERVER_RESPONSE_TIMEOUT_MS: add 2023-12-18 23:09:30 +01:00
easyoptions.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
escape.c lib: provide and use Curl_hexencode 2023-09-30 11:45:39 +02:00
escape.h lib: provide and use Curl_hexencode 2023-09-30 11:45:39 +02:00
file.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
file.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
fileinfo.c ftplistparser: replace realloc with dynbuf 2023-03-28 10:11:33 +02:00
fileinfo.h ftplistparser: replace realloc with dynbuf 2023-03-28 10:11:33 +02:00
fopen.c fopen: allocate the dir after fopen 2023-11-24 13:24:08 +01:00
fopen.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
formdata.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
formdata.h configure, cmake, lib: more form api deprecation 2023-07-31 08:31:38 +02:00
ftp.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
ftp.h ftp: add more conditions for connection reuse 2023-03-13 09:07:23 +01:00
ftplistparser.c build: add more picky warnings and fix them 2023-11-21 16:35:42 +00:00
ftplistparser.h wildcard: remove files and move functions into ftplistparser.c 2023-03-03 23:25:30 +01:00
functypes.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
getenv.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
getinfo.c getinfo: CURLINFO_QUEUE_TIME_T 2023-12-27 09:28:48 +01:00
getinfo.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
gopher.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
gopher.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hash.c hash: fix assigning same value 2023-04-14 09:26:26 +02:00
hash.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
headers.c headers: make sure the trailing newline is not stored 2024-01-10 13:57:08 +01:00
headers.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hmac.c lib: enable hmac for digest as well 2023-09-20 13:38:42 +02:00
hostasyn.c Revert "urldata: move async resolver state from easy handle to connectdata" 2023-12-15 12:57:35 +01:00
hostip.c Revert "urldata: move async resolver state from easy handle to connectdata" 2023-12-15 12:57:35 +01:00
hostip.h hostip: show the list of IPs when resolving is done 2023-10-20 23:00:10 +02:00
hostip4.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hostip6.c hostip6: fix DEBUG_ADDRINFO builds 2023-10-28 00:27:20 -04:00
hostsyn.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hsts.c hsts: remove assert for zero length domain 2024-01-10 13:58:14 +01:00
hsts.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
http.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
http.h lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
http1.c http: h1/h2 proxy unification 2023-09-25 20:12:18 +02:00
http1.h http: h1/h2 proxy unification 2023-09-25 20:12:18 +02:00
http2.c transfer: adjust_pollset improvements 2024-01-07 14:36:25 +01:00
http2.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
http_aws_sigv4.c lib: reduce use of strncpy 2023-12-11 23:29:02 +01:00
http_aws_sigv4.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
http_chunks.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
http_chunks.h lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
http_digest.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
http_digest.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
http_negotiate.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
http_negotiate.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
http_ntlm.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
http_ntlm.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
http_proxy.c http_proxy: a blank CURLOPT_USERAGENT should not be used in CONNECT 2024-01-11 08:49:21 +01:00
http_proxy.h http: h1/h2 proxy unification 2023-09-25 20:12:18 +02:00
idn.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
idn.h urlapi: return CURLUE_BAD_HOSTNAME if puny2idn encoding fails 2023-08-17 08:21:08 +02:00
if2ip.c lib: --disable-bindlocal builds curl without local binding support 2023-08-17 17:17:59 +02:00
if2ip.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
imap.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
imap.h misc: reduce struct and struct field sizes 2023-01-04 15:36:36 +01:00
inet_ntop.c inet_ntop: add typecast to silence Coverity 2023-09-27 13:18:22 +02:00
inet_ntop.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
inet_pton.c build: fix some -Wsign-conversion/-Warith-conversion warnings 2023-12-19 12:45:28 +00:00
inet_pton.h windows: delete redundant headers 2023-12-18 14:56:57 +00:00
krb5.c lib: add debug log outputs for CURLE_BAD_FUNCTION_ARGUMENT 2024-01-08 22:48:24 +01:00
ldap.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
libcurl.plist.in macos: set .plist version in autoconf 2022-04-20 15:26:13 +02:00
libcurl.rc copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
libcurl.vers.in configure: use XC_LIBTOOL for portability across libtool versions 2013-03-08 13:27:45 +01:00
llist.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
llist.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
macos.c macOS: fix target detection more 2023-07-29 23:42:53 +02:00
macos.h macOS: fix target detection more 2023-07-29 23:42:53 +02:00
Makefile.am autotools: avoid passing LDFLAGS twice to libcurl 2023-11-14 19:28:15 +00:00
Makefile.inc vquic: extract TLS setup into own source 2024-01-11 10:43:00 +01:00
Makefile.mk Makefile.mk: drop Windows support 2023-12-16 13:12:22 +00:00
Makefile.soname copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
md4.c lib: strndup/memdup instead of malloc, memcpy and null-terminate 2023-12-07 08:47:44 +01:00
md5.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
memdebug.c build: more -Wformat fixes 2023-12-18 14:56:57 +00:00
memdebug.h build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
mime.c lib: add debug log outputs for CURLE_BAD_FUNCTION_ARGUMENT 2024-01-08 22:48:24 +01:00
mime.h build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
mprintf.c mprintf: overhaul and bugfixes 2023-12-22 09:51:57 +01:00
mqtt.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
mqtt.h MQTT: improve receive of ACKs 2023-10-09 18:34:17 +02:00
multi.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
multihandle.h urldata: make maxconnects a 32 bit value 2023-11-22 13:27:38 +01:00
multiif.h multiif.h: remove Curl_multi_dump declaration 2023-09-26 03:51:13 -04:00
netrc.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
netrc.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
nonblock.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
nonblock.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
noproxy.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
noproxy.h noproxy: support for space-separated names is deprecated 2023-01-04 09:15:37 +01:00
openldap.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
optiontable.pl easyoptions: Fix header printing in generation script 2023-01-12 14:59:38 +01:00
parsedate.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
parsedate.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
pingpong.c lib: strndup/memdup instead of malloc, memcpy and null-terminate 2023-12-07 08:47:44 +01:00
pingpong.h build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
pop3.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
pop3.h misc: reduce struct and struct field sizes 2023-01-04 15:36:36 +01:00
progress.c getinfo: CURLINFO_QUEUE_TIME_T 2023-12-27 09:28:48 +01:00
progress.h getinfo: CURLINFO_QUEUE_TIME_T 2023-12-27 09:28:48 +01:00
psl.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
psl.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
rand.c lib: add debug log outputs for CURLE_BAD_FUNCTION_ARGUMENT 2024-01-08 22:48:24 +01:00
rand.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
rename.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
rename.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
rtsp.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
rtsp.h RTSP: improved RTP parser 2023-10-21 14:38:21 +02:00
select.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
select.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
sendf.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
sendf.h lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
setopt.c setopt: use memdup0 when cloning COPYPOSTFIELDS 2024-01-09 09:23:15 +01:00
setopt.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
setup-os400.h os400: implement CLI tool 2023-08-30 11:38:27 +02:00
setup-vms.h egd: delete feature detection and related source code 2023-08-01 21:58:56 +00:00
setup-win32.h windows: simplify detecting and using system headers 2023-12-16 13:13:44 +00:00
sha256.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
share.c build: fix some -Wsign-conversion/-Warith-conversion warnings 2023-12-19 12:45:28 +00:00
share.h build: delete support bits for obsolete Windows compilers 2023-11-06 22:00:10 +00:00
sigpipe.h build: delete checks for C89 standard headers 2023-09-26 14:25:10 +00:00
slist.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
slist.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
smb.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
smb.h cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
smtp.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
smtp.h misc: reduce struct and struct field sizes 2023-01-04 15:36:36 +01:00
sockaddr.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
socketpair.c windows: delete redundant headers 2023-12-18 14:56:57 +00:00
socketpair.h asyn-thread: use pipe instead of socketpair for IPC when available 2023-10-18 08:23:53 +02:00
socks.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
socks.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
socks_gssapi.c lib: strndup/memdup instead of malloc, memcpy and null-terminate 2023-12-07 08:47:44 +01:00
socks_sspi.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
speedcheck.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
speedcheck.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
splay.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
splay.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
strcase.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
strcase.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
strdup.c lib: rename Curl_strndup to Curl_memdup0 to avoid misunderstanding 2023-12-08 17:22:33 +01:00
strdup.h lib: rename Curl_strndup to Curl_memdup0 to avoid misunderstanding 2023-12-08 17:22:33 +01:00
strerror.c strerror: repair get_winsock_error() 2023-12-21 23:17:15 +01:00
strerror.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
strtok.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
strtok.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
strtoofft.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
strtoofft.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
system_win32.c system_win32: fix a function pointer assignment warning 2023-12-28 03:38:44 -05:00
system_win32.h system_win32: fix a function pointer assignment warning 2023-12-28 03:38:44 -05:00
telnet.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
telnet.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tftp.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
tftp.h setopt: check CURLOPT_TFTP_BLKSIZE range on set 2023-11-22 07:44:05 +01:00
timediff.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
timediff.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
timeval.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
timeval.h multi: round the timeout up to prevent early wakeups 2023-09-28 09:52:20 +02:00
transfer.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
transfer.h lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
url.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
url.h url: protocol handler lookup tidy-up 2023-10-27 16:55:54 +02:00
urlapi-int.h urlapi: make internal function start with Curl_ 2023-04-27 08:36:51 +02:00
urlapi.c curl.h: add CURLE_TOO_LARGE 2023-12-18 10:34:22 +01:00
urldata.h lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00
version.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
version_win32.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
version_win32.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
warnless.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
warnless.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
ws.c lib: add debug log outputs for CURLE_BAD_FUNCTION_ARGUMENT 2024-01-08 22:48:24 +01:00
ws.h Websocket en-/decoding 2023-04-25 23:16:51 +02:00