diff src/event/ngx_event_acceptex.c @ 6438:646985c55393

Truncation detection in sendfilev() on Solaris. While sendfilev() is documented to return -1 with EINVAL set if the file was truncated, at least Solaris 11 silently returns 0, and this results in CPU hog. Added a test to complain appropriately if 0 is returned.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 15 Mar 2016 18:26:59 +0300
parents 1ab1cf63f885
children 293413010217
line wrap: on
line diff