| 936 | } |
| 937 | |
| 938 | ssize_t do_sendfile(int in_fd, off_t offset, size_t count) { |
| 939 | auto timeout = m_timeout; |
| 940 | return etdoio(LAMBDA(::sendfile(this->fd, in_fd, &offset, count)), |
| 941 | LAMBDA_TIMEOUT(wait_for_writable(timeout))); |
| 942 | } |
| 943 | }; |
| 944 | |
| 945 | class ETKernelSocketClient : public KernelSocketClient { |