Failure to send message should result in negotiation failure 24/4524/1
authorRobert Varga <rovarga@cisco.com>
Tue, 21 Jan 2014 20:23:00 +0000 (21:23 +0100)
committerRobert Varga <rovarga@cisco.com>
Tue, 21 Jan 2014 20:23:00 +0000 (21:23 +0100)
commitb9bdad60872822c8c1af066de6b32266a3da9e7f
tree92dd37ab0ec7487c41d3e6086d8931ed464c3f4f
parent15fa8d6fdcb4f061fce29454ffa7dc36f4aa1ac7
Failure to send message should result in negotiation failure

This is evidenced by the session getting stuck after the peer closes the
connection but we try to send the open message. The state would be
recovered by the hold timer, but there's no reason why we should wait
for that.

Change-Id: I7abb4e86ced7e36ed720614243ad1938d69fab3a
Signed-off-by: Robert Varga <rovarga@cisco.com>
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPSessionNegotiator.java