Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sendfile(2) should return ESPIPE when offset is not null, but inFile is not seekable #52

Closed
chanwit opened this issue May 16, 2018 · 2 comments

Comments

@chanwit
Copy link
Contributor

chanwit commented May 16, 2018

Refer to man 2 sendfile:

ERRORS
       ESPIPE offset is not NULL but the input file is not seek(2)-able.

sendfile syscall should return ESPIPE when the offset is not null, but inFile is not seekable.

@chanwit
Copy link
Contributor Author

chanwit commented May 16, 2018

@chanwit
Copy link
Contributor Author

chanwit commented May 17, 2018

Fixed by 3131a6b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant