]> git.ipfire.org Git - thirdparty/bird.git/commit
Fix handling on full pipe to client in bird. Prevent packet overflows
authorMartin Mares <mj@ucw.cz>
Mon, 31 May 2004 17:55:30 +0000 (17:55 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 31 May 2004 17:55:30 +0000 (17:55 +0000)
commit5f2a6a9ff324d846c86ffafb60ae5a4c01d06313
tree36be871d290f918f9ae79a22b583069626277f2c
parenta4ffe2739d1a3efb45f209b63b2b6faa558e43a9
Fix handling on full pipe to client in bird. Prevent packet overflows
for even only medium sized route table output. Fix a strange garbled
output problem in the client. The latter seems to be caused by some
library doing tcflush while there is still command output pending. So
the best fix here is to do fflush and then tcdrain. Note that this
problem occurs only under certain load situations and is not too easy to
reproduce.

(by Andreas)
client/client.c
sysdep/unix/main.c