curl/tests/server
Marc Hoersken 8b42d7b9d4
tool and tests: force flush of all buffers at end of program
On Windows data can be lost in buffers in case of abnormal program
termination, especially in process chains as seen due to flaky tests.
Therefore flushing all buffers manually should avoid this data loss.

In the curl tool we play the safe game by only flushing write buffers,
but in the testsuite where we manage all buffers, we flush everything.

This should drastically reduce Windows CI and testsuite flakiness.

Reviewed-by: Daniel Stenberg

Supersedes #7833 and #6064
Closes #8516
2022-03-13 13:29:28 +01:00
..
.gitignore tests/git: ignore mqttd and port files 2020-04-24 13:48:58 +02:00
base64.pl curl.se: new home 2020-11-04 23:59:47 +01:00
CMakeLists.txt curl.se: new home 2020-11-04 23:59:47 +01:00
disabled.c tests/server/disabled: add "wakeup" 2020-12-11 17:42:17 +01:00
fake_ntlm.c curl.se: new home 2020-11-04 23:59:47 +01:00
getpart.c runtests.pl: support the nonewline attribute for the data part 2022-01-10 15:54:54 +01:00
getpart.h curl.se: new home 2020-11-04 23:59:47 +01:00
Makefile.am configure: remove support for "embedded ares" 2022-02-07 23:27:57 +01:00
Makefile.inc curl.se: new home 2020-11-04 23:59:47 +01:00
mqttd.c tests/server/*.c: align handling of portfile argument and file 2021-08-17 21:43:31 +02:00
resolve.c curl.se: new home 2020-11-04 23:59:47 +01:00
rtspd.c tests/server/*.c: align handling of portfile argument and file 2021-08-17 21:43:31 +02:00
server_setup.h curl.se: new home 2020-11-04 23:59:47 +01:00
server_sockaddr.h curl.se: new home 2020-11-04 23:59:47 +01:00
sockfilt.c tests/server/*.c: align handling of portfile argument and file 2021-08-17 21:43:31 +02:00
socksd.c server/socksd: log atyp + address in a separate log 2022-01-03 22:32:05 +01:00
sws.c sws: fix memory leak on exit 2021-10-14 03:24:18 -04:00
testpart.c curl.se: new home 2020-11-04 23:59:47 +01:00
tftp.h curl.se: new home 2020-11-04 23:59:47 +01:00
tftpd.c cleanup: constify unmodified static structs 2021-09-23 12:54:35 +02:00
util.c tool and tests: force flush of all buffers at end of program 2022-03-13 13:29:28 +01:00
util.h tool and tests: force flush of all buffers at end of program 2022-03-13 13:29:28 +01:00