curl/tests/server
Marc Hoersken 91948a9eaf
tests/server/sockfilt.c: avoid race condition without a mutex
Avoid loosing any triggered handles by first aborting and joining
the waiting threads before evaluating the individual signal state.

This removes the race condition and therefore need for a mutex.

Closes #9023
2022-08-23 12:17:20 +02:00
..
.gitignore copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
base64.pl copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
CMakeLists.txt copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
disabled.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
fake_ntlm.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
getpart.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
getpart.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
Makefile.am copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
Makefile.inc copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
mqttd.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
resolve.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
rtspd.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
server_setup.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
server_sockaddr.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
sockfilt.c tests/server/sockfilt.c: avoid race condition without a mutex 2022-08-23 12:17:20 +02:00
socksd.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
sws.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
testpart.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tftp.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tftpd.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
util.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
util.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00