Welcome! Log In Create A New Profile

Advanced

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

Sergey Kandaurov
November 25, 2022 06:48AM
details: https://hg.nginx.org/nginx/rev/0b360747c74e
branches:
changeset: 8107:0b360747c74e
user: Sergey Kandaurov <pluknet@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) {

_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-leave@nginx.org
Subject Author Views Posted

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

Sergey Kandaurov 301 November 25, 2022 06:48AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 106
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready