p2p: Set connection timeout
authorSamuel Ortiz <sameo@linux.intel.com>
Tue, 21 May 2013 17:02:05 +0000 (19:02 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 21 May 2013 17:02:05 +0000 (19:02 +0200)
commite01ae35ca5c40dd191bb4aa049698b940b54c116
treec0d7f30f97f90621aacf0065df50c11efffe3a79
parent6c0e2966d82588017185b2d02d17178f4743531e
p2p: Set connection timeout

The connect() call should not block forever. The 8 seconds timeout makes
it for approximately 3 times the maximum LTO and that seems to be plenty
of time for a peer to reply to an LLCP connection.
plugins/p2p.c