auth-once: use pthread_rwlock_t for lock
commit1fff3cc885f8ad152f677d42246b5810c387fd9c
authorrofl0r <rofl0r@users.noreply.github.com>
Fri, 23 Oct 2020 15:28:11 +0000 (23 16:28 +0100)
committerrofl0r <rofl0r@users.noreply.github.com>
Fri, 23 Oct 2020 15:31:59 +0000 (23 16:31 +0100)
treefccbe1d7e86b449112401f7e20d8bd0d9497e0b0
parent959385189cd5019fd7d4848e40bf35d10578d0ed
auth-once: use pthread_rwlock_t for lock

this allows multiple threads to read the list contents at the same
time, unless it is locked by a write update for a newly password-
authenticated ip.
sockssrv.c