commit | ecb17d3fd62f6ea7117a7d1f098034288072f224 | [log] [tgz] |
---|---|---|
author | Xiao Ma <xiaom@google.com> | Sat Jun 04 20:21:37 2022 +0900 |
committer | Xiao Ma <xiaom@google.com> | Thu Jun 09 17:42:57 2022 +0900 |
tree | 5cddf3408568989d8a53a9318de16a1b942275ff | |
parent | c4f2303704d4f72ece397b7826a3d02e7cd54381 [diff] |
Add handlePacketReadError method in FdEventsReader. This method allows the subclasses of FdEventsReader to decide whether it should stop reading packet and unregister the fd immediately or just ignore when some specific error other than EAGAIN or EINTR happens such as ENOBUFS. Bug: 232680956 Test: m Change-Id: I19ee9390e78dcd0140e45fed75a1a36942450407