mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
log offset passed to sendfile()
This commit is contained in:
parent
2052077b93
commit
f0e12845a5
@ -310,8 +310,8 @@ ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
|
||||
*/
|
||||
|
||||
ngx_log_error(NGX_LOG_ALERT, c->log, 0,
|
||||
"sendfile() reported that \"%s\" was truncated",
|
||||
file->file->name.data);
|
||||
"sendfile() reported that \"%s\" was truncated at %O",
|
||||
file->file->name.data, file->file_pos);
|
||||
|
||||
return NGX_CHAIN_ERROR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user