Description[Android] Use a "unique" remote debugging socket name on bind failure
When socket bind failure happens on enabling remote web debugging,
retry using a socket name with PID suffix to ensure uniquiness.
This allows several channels of Chrome to have remote web debugging
enabled simultaneously. Also, this preserves backwards compatibility,
as in the case of the single Chrome instance on a device, remote
debugging socket name is unchanged.
It seems easier to add retry functionality to UnixDomainSocket,
as DevToolsHttpHandler creation is heavily asynchronous.
BUG=222338
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203132
Patch Set 1 #
Total comments: 4
Patch Set 2 : Always use socket names from MakeSocketPath #
Messages
Total messages: 11 (0 generated)
|