mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
mod_ssl: dump SSL IO/state for the write side of the connection(s), like reads.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1601919 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -2027,8 +2027,14 @@ void ssl_io_filter_init(conn_rec *c, request_rec *r, SSL *ssl)
|
||||
ssl_io_filter_cleanup, apr_pool_cleanup_null);
|
||||
|
||||
if (APLOG_CS_IS_LEVEL(c, mySrvFromConn(c), APLOG_TRACE4)) {
|
||||
BIO_set_callback(SSL_get_rbio(ssl), ssl_io_data_cb);
|
||||
BIO_set_callback_arg(SSL_get_rbio(ssl), (void *)ssl);
|
||||
BIO *rbio = SSL_get_rbio(ssl),
|
||||
*wbio = SSL_get_wbio(ssl);
|
||||
BIO_set_callback(rbio, ssl_io_data_cb);
|
||||
BIO_set_callback_arg(rbio, (void *)ssl);
|
||||
if (wbio && wbio != rbio) {
|
||||
BIO_set_callback(wbio, ssl_io_data_cb);
|
||||
BIO_set_callback_arg(wbio, (void *)ssl);
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
|
Reference in New Issue
Block a user