]> git.koha-community.org Git - koha.git/commit
Bug 6620 Ensure autoflush is set on output filehandles
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 21 Jul 2011 11:16:22 +0000 (12:16 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 14 Sep 2011 09:40:45 +0000 (21:40 +1200)
commitf9ccfae400324fdd88597ff81fba42715e50f19d
tree5b3f29be64f7c576dd70ca6e64f4aab3c7a74f0a
parent47aee699afbb4ad8aebc84e023a0e5c7fd441ec9
Bug 6620 Ensure autoflush is set on output filehandles

stdout is by default buffered and a flush is only guaranteed on CR
Sip responses are not CR terminated so we need to ensure autoflush
is switched on  so that the filehandle is flushed after a print
Otherwise this can manifest as self checks running slow or
failing due to timeout (although in the log we see the response)

Signed-off-by: Ulrich Kleiber <ulrich.kleiber@bsz-bw.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/SIP/Sip.pm