The sendfile emulation in src/unix/fs.c polls the file descriptor for write readiness. If POLLERR or POLLHUP is set, it bails out but doesn't set errno (hence it doesn't report a useful error code). Rectify that. Fixes #620. |
||
|---|---|---|
| .. | ||
| unix | ||
| win | ||
| fs-poll.c | ||
| inet.c | ||
| uv-common.c | ||
| uv-common.h | ||