summaryrefslogtreecommitdiff
path: root/bgpd/bgp_nexthop.c
diff options
context:
space:
mode:
authorLeonid Rosenboim <Leonid.Rosenboim@windriver.com>2012-12-14 19:12:17 +0000
committerDavid Lamparter <equinox@opensourcerouting.org>2013-01-16 01:45:57 +0100
commit86998bc2bc9506841250c8d49dd2df2464660a18 (patch)
tree1f6796236e69496f3db2bfd32eb2d43c6bfb1a37 /bgpd/bgp_nexthop.c
parenta6694fe8a89b957216f548938cc31602df04d495 (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>
Diffstat (limited to 'bgpd/bgp_nexthop.c')
0 files changed, 0 insertions, 0 deletions