gecko/ipc/unixsocket
Thomas Zimmermann 9f54d191f0 Bug 972265: Maintain connect delay in UnixSocketConsumer, r=kyle
UnixSocketConsumer now maintains a delay for re-establishing closed
connection. The initial delay is zero, so that the first connect call
is processed immediately. At the first failed attempt to connect, the
delay is set to ~1 second, and is increased by a factor of 2 on each
successive error until it reaches ~1 minute.

The UnixSocketConsumer code resets the delay to zero if it is lower
than the time that the connection was open. This heuristics protects
against cases where the peer establishes a connection, and closes it
shortly afterwards. Incompatible versions of rild show this behavior.
2014-02-14 08:03:05 +01:00
..
moz.build Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps 2013-11-19 11:50:54 +09:00
UnixSocket.cpp Bug 972265: Maintain connect delay in UnixSocketConsumer, r=kyle 2014-02-14 08:03:05 +01:00
UnixSocket.h Bug 972265: Maintain connect delay in UnixSocketConsumer, r=kyle 2014-02-14 08:03:05 +01:00