Fix queueing-up unhandled messages without pushback
authorSiraaj Khandkar <siraaj@khandkar.net>
Tue, 24 Mar 2020 21:12:01 +0000 (17:12 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Tue, 24 Mar 2020 21:16:06 +0000 (17:16 -0400)
commit6c4ca91c4760f69d559ab7be98846c57daffbe19
treeace94881593479eb43293ecef2a383a2554602d0
parent03ed0008d381dbf3cda334e24842acf7783d3dbe
Fix queueing-up unhandled messages without pushback

by skipping sleep when there're open FDs (which can be written to during
sleep).

While this doesn't grow the queue, this still prevents pushback by
allowing data to be written before reader can reach EOF.
x5/khatus.c
This page took 0.018469 seconds and 4 git commands to generate.