DescriptionFix posix IPC channel hanging problem.
If a channel closes right before a send call, listeners might not be notified of
the problem, which can cause hangs. This CL fixes that and adds a test that makes
sure that this does not happen in the future.
This is similar to cl/150893002, but takes a slightly different approach to how to
make sure everything happens in the right order. In particular, it avoids closing
the socket (and calling OnChannelError()) from Send().
BUG=338709
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252430
Patch Set 1 #Patch Set 2 : removed an extra include #Patch Set 3 : removed an extra include #Patch Set 4 : removed change that is not needed anymore #
Messages
Total messages: 6 (0 generated)
|