log offset passed to sendfile()
This commit is contained in:
parent
c1a47a7d14
commit
8f8f9c00d5
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue