Searched hist:214692 (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/sbin/hastd/
H A Dprimary.cdiff 214692 Tue Nov 02 20:18:15 MDT 2010 pjd Send packets to remote node only via the send thread to avoid possible
races - in this case a keepalive packet was send from wrong thread which
lead to connection dropping, because of corrupted packet.

Fix it by sending keepalive packets directly from the send thread.
As a bonus we now send keepalive packets only when connection is idle.

Submitted by: Mikolaj Golub <to.my.trociny@gmail.com>
MFC after: 3 days

Completed in 56 milliseconds