Pawel Jakub Dawidek 448efa9421 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
2010-11-02 22:13:08 +00:00
..
2010-08-23 22:24:11 +00:00
2010-03-02 16:58:04 +00:00
2010-02-03 23:56:12 +00:00
2010-02-15 14:07:40 +00:00
2010-08-06 14:33:42 +00:00
2010-08-23 22:24:11 +00:00
2010-06-11 17:02:57 +00:00
2010-01-27 20:32:58 +00:00
2010-03-02 16:58:04 +00:00
2010-10-21 12:27:13 +00:00
2010-01-22 08:51:58 +00:00
2010-10-27 14:11:11 +00:00
2010-09-24 19:08:56 +00:00
2010-08-23 22:24:11 +00:00
2010-03-10 18:51:13 +00:00
2010-06-20 12:52:33 +00:00
2010-08-06 14:33:42 +00:00
2010-10-11 20:17:23 +00:00
2010-02-27 10:18:33 +00:00