mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 14:13:33 -06:00
Core: added debug logging of writev() in ngx_write_chain_to_file().
This commit is contained in:
parent
248bc41893
commit
d228cf3638
@ -241,6 +241,9 @@ ngx_write_chain_to_file(ngx_file_t *file, ngx_chain_t *cl, off_t offset,
|
||||
return NGX_ERROR;
|
||||
}
|
||||
|
||||
ngx_log_debug2(NGX_LOG_DEBUG_CORE, file->log, 0,
|
||||
"writev: %d, %z", file->fd, n);
|
||||
|
||||
file->sys_offset += n;
|
||||
file->offset += n;
|
||||
total += n;
|
||||
|
Loading…
Reference in New Issue
Block a user