From: Fabian Keil Date: Tue, 25 Feb 2020 11:52:39 +0000 (+0100) Subject: ssl_send_data(): Log the data before writing X-Git-Tag: v_3_0_29~492 X-Git-Url: http://www.privoxy.org/gitweb/-%22http:/sourceforge.net/static/static/files-in-use.jpg?a=commitdiff_plain;h=259630adeb4cb54a738351bef0e9367daa443b9b;p=privoxy.git ssl_send_data(): Log the data before writing Sponsored by: Robert Klemme --- diff --git a/ssl.c b/ssl.c index 9dc14ab5..14258797 100644 --- a/ssl.c +++ b/ssl.c @@ -229,6 +229,8 @@ extern int ssl_send_data(mbedtls_ssl_context *ssl, const unsigned char *buf, siz send_len = (int)max_fragment_size; } + log_error(LOG_LEVEL_WRITING, "TLS: %N", send_len, buf+pos); + /* * Sending one part of the buffer */