Skip to content

Commit

Permalink
Removed usage of bio structure from debug message.
Browse files Browse the repository at this point in the history
  • Loading branch information
yashwantsahu20 committed Nov 8, 2024
1 parent 9835837 commit a0ce79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mysql_data_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ int MySQL_Data_Stream::read_from_net() {
}
char buf[MY_SSL_BUFFER];
int ssl_recv_bytes = recv(fd, buf, sizeof(buf), 0);
proxy_debug(PROXY_DEBUG_NET, 7, "Session=%p: recv() read %d bytes. num_write: %lu , num_read: %lu\n", sess, ssl_recv_bytes, rbio_ssl->num_write , rbio_ssl->num_read);
proxy_debug(PROXY_DEBUG_NET, 7, "Session=%p: recv() read %d bytes. num_write: %lu , num_read: %lu\n", sess, ssl_recv_bytes, BIO_number_written(rbio_ssl) , BIO_number_read(rbio_ssl));

if (ssl_recv_bytes > 0 || BIO_number_written(rbio_ssl) > BIO_number_read(rbio_ssl)) {
char buf2[MY_SSL_BUFFER];
Expand Down

0 comments on commit a0ce79b

Please sign in to comment.