summaryrefslogtreecommitdiff
path: root/nslcd_server
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-09-08 14:33:35 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-09-08 16:55:55 -0400
commite7b6b3a7ae2e53d807e14697708c4110c038303b (patch)
tree39b533c719e6cca58d0f63b43cc0be4c6cc8fafb /nslcd_server
parent4d410a5f047b5b4b55b2dcfc29d5264de695fe94 (diff)
nslcd_systemd: FIX: avoid a race condition
Spawn handler goroutines from listener goroutine. This fixes a race condition where main | listener ----------+----------------- | conn = accept() return | | sock <- conn and the connection is *not* handled (despite being accepted).
Diffstat (limited to 'nslcd_server')
0 files changed, 0 insertions, 0 deletions