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
base64.pl
CMakeLists.txt
disabled.c
fake_ntlm.c
getpart.c runtests.pl: support the nonewline attribute for the data part 2022-01-10 15:54:54 +01:00
getpart.h
Makefile.am configure: remove support for "embedded ares" 2022-02-07 23:27:57 +01:00
Makefile.inc
mqttd.c
resolve.c
rtspd.c
server_setup.h
server_sockaddr.h
sockfilt.c
socksd.c server/socksd: log atyp + address in a separate log 2022-01-03 22:32:05 +01:00
sws.c
testpart.c
tftp.h
tftpd.c
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