commit | b675ffe41b574bd7a13ebbc8682cf147508b5c21 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Aug 05 16:37:17 2021 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri Aug 06 12:09:40 2021 -0700 |
tree | 563138d017c6ccd0b587876c2c8bc66133b6bce1 | |
parent | 8c950421dbe8d9c2cea5e293b925b01d6f8c52da [diff] |
binder: RPC uses non-blocking sockets. With TLS, even though poll() may have returned for an FD, there may not be a complete packet available, so I/O operations within libssl may block and not interruptible by the shutdown trigger. Hence, always use non-blocking sockets. Test: binderRpcTest Bug: 195683291 Change-Id: I372e8c3bf010c672b1c4b9f7cb5b789ca20c9480