mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
6d2e9a37cb
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. |
||
---|---|---|
.. | ||
moz.build | ||
UnixSocket.cpp | ||
UnixSocket.h |