[nginx] SSL: fixed debug logging of SSL_sendfile() return value.
Sergey Kandaurov
pluknet at nginx.com
Fri Nov 25 11:47:25 UTC 2022
details: https://hg.nginx.org/nginx/rev/0b360747c74e
branches:
changeset: 8107:0b360747c74e
user: Sergey Kandaurov <pluknet at nginx.com>
date: Thu Nov 24 23:08:30 2022 +0400
description:
SSL: fixed debug logging of SSL_sendfile() return value.
diffstat:
src/event/ngx_event_openssl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 8852f39311de -r 0b360747c74e src/event/ngx_event_openssl.c
--- a/src/event/ngx_event_openssl.c Wed Nov 23 23:48:53 2022 +0300
+++ b/src/event/ngx_event_openssl.c Thu Nov 24 23:08:30 2022 +0400
@@ -3020,7 +3020,7 @@ ngx_ssl_sendfile(ngx_connection_t *c, ng
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) {
More information about the nginx-devel
mailing list