mirror of
https://github.com/nginx/nginx.git
synced 2026-07-10 02:47:15 +00:00
SSL: fixed debug logging of SSL_sendfile() return value.
This commit is contained in:
parent
d52e568443
commit
765ef1098d
1 changed files with 1 additions and 1 deletions
|
|
@ -3020,7 +3020,7 @@ ngx_ssl_sendfile(ngx_connection_t *c, ngx_buf_t *file, size_t size)
|
|||
n = SSL_sendfile(c->ssl->connection, file->file->fd, file->file_pos,
|
||||
size, flags);
|
||||
|
||||
ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, "SSL_sendfile: %d", n);
|
||||
ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, "SSL_sendfile: %z", n);
|
||||
|
||||
if (n > 0) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue