login: Use infinite timeout for Chrome liveness D-Bus call.
The session manager used to pass a timeout of -1 to
dbus_connection_send_with_reply() when making CheckLiveness
D-Bus calls to Chrome. D-Bus interprets this as a default
timeout of 25 seconds, though, which is less than the
one-minute grace period allowed by the session manager. Pass
DBUS_TIMEOUT_INFINITE instead.
BUG=chromium:269793
TEST=manual: checked that hang detection is no longer
triggered after patching chrome to wait for 50 seconds
before replying; also checked that hang detection _is_
still triggered after interrupting chrome with gdb
Change-Id: Id84db035bf83ccb6de07fe334a4071e229ace234
Reviewed-on: https://chromium-review.googlesource.com/169814
Reviewed-by: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
1 file changed