]> git.pond.sub.org Git - empserver/commit
Fix recvclient() to obey max_idle for output, too
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 11 Mar 2012 11:35:18 +0000 (12:35 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 26 Apr 2012 17:43:42 +0000 (19:43 +0200)
commit4d59881505f5771de5b3e0f7d42ffaeecb69b9bd
tree68f490c313c1c7cfbd5a5af30c0740b9a1663206
parent7cca82578d796a88395081deca25d46cfddf2613
Fix recvclient() to obey max_idle for output, too

recvclient() flushes the output queue before receiving input.  The
receive obeys max_idle, the flush doesn't.

Broken in commit 08b94556 (v4.3.20) "Reimplement max_idle without a
separate thread".  Until then, the idle thread aborted a stuck attempt
to flush output.
src/lib/player/recvclient.c