commit | 86998bc2bc9506841250c8d49dd2df2464660a18 | [log] [tgz] |
---|---|---|
author | Leonid Rosenboim <Leonid.Rosenboim@windriver.com> | Fri Dec 14 19:12:17 2012 +0000 |
committer | David Lamparter <equinox@opensourcerouting.org> | Wed Jan 16 01:45:57 2013 +0100 |
tree | 1f6796236e69496f3db2bfd32eb2d43c6bfb1a37 | |
parent | a6694fe8a89b957216f548938cc31602df04d495 [diff] |
bgpd: uncork/nagle socket when sending BGP NOTIFY This pushes out the NOTIFY message before closing a connection. Previously, the TCP_CORK bandwidth optimization code caused NOTIFY messages to disappear prior to when the connection is closed. * bgpd/bgp_packet.c: unset CORK, set NODELAY, and replace writen() by more correct write() Signed-off-by: David Lamparter <equinox@opensourcerouting.org>