Hash :
c9b75c7b
Author :
Date :
2022-05-19T07:31:57
revert "Skip poll(2) if an imsgbuf has a non-empty read buffer" imsg_read() will call recvmsg() on the file descriptor regardless of the read buffer's state, so we should ensure that data is ready. The read buffer is used by imsg_get(), not imsg_read(). We already call imsg_get() before imsg_read(), and call the latter only if imsg_get() returns zero.
| Git HTTP | https://git.kmx.io/thodg/got.git |
|---|---|
| Git SSH | git@git.kmx.io:thodg/got.git |
| Public access ? | public |
| Description | |
|
Users |
|
| Tags |
|