From 57a1477bc7138649a51277cd52616eb05d438187 Mon Sep 17 00:00:00 2001 From: ajs Date: Sun, 10 Apr 2005 15:01:56 +0000 Subject: 2005-04-10 Andrew J. Schorr * zserv.c (zebra_client_read): Fix bug: first read attempt should read ZEBRA_HEADER_SIZE minus the number of bytes already read. Improve efficiency by maintaining a calculation of the number of bytes read instead of calling stream_get_endp multiple times. If message length is too small, issue a warning message (not debug) before closing the connection. And also check that message length is not too big. --- zebra/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'zebra/ChangeLog') diff --git a/zebra/ChangeLog b/zebra/ChangeLog index 87278b04..1ee61c77 100644 --- a/zebra/ChangeLog +++ b/zebra/ChangeLog @@ -1,3 +1,13 @@ +2005-04-10 Andrew J. Schorr + + * zserv.c (zebra_client_read): Fix bug: first read attempt should + read ZEBRA_HEADER_SIZE minus the number of bytes already read. + Improve efficiency by maintaining a calculation of the number + of bytes read instead of calling stream_get_endp multiple times. + If message length is too small, issue a warning message (not debug) + before closing the connection. And also check that message length + is not too big. + 2005-04-09 Hasso Tepper * rt_netlink.c: One tiny missing comma caused pointless debug messages -- cgit v1.2.1