If poll_write was blocked trying to write a request out to the socket, it's because the write triggered a flush and the socket wasn't ready. We don't want to try to flush again, since it's at best a waste of time and at worst can cause a deadlock if the socket becomes available after the poll_write and before the poll_flush. If that happens, we should be in poll_write again writing more data but that wouldn't happen. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |