SSL: fixed debug logging of SSL_sendfile() return value.

This commit is contained in:
Sergey Kandaurov 2022-11-24 23:08:30 +04:00
parent 73c99585a5
commit 6ba33e6090
1 changed files with 1 additions and 1 deletions

View File

@ -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) {