mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
9c3a03a239
- Merge sslaccept and sslconnect. - Atomically "reset" vio to VIO_TYPE_SSL when the SSL connection has succeeded, this avoids having to revert anything and thus protects against "close_active_vio" in the middle. - Add some variance to the testcase mysql-test/t/rpl_ssl.test: Add some variance by running two selects before stopping the slave Check that number of records in t1 are equal on master and slave vio/viossl.c: Rewrite sslconnect and sslaccept to automically "reset" the vio to VIO_TYPE_SSL. Also use the fd from 'SSL_get_fd' to avoid setting vio->sd to -1, that previously occured when "close_active_vio" was called during connect/accept. Merge the two function since they were exactly the same except for one line. Update the DBUG printouts to be generic(i.e use peer instead of client/server). |
||
---|---|---|
.. | ||
docs | ||
.cvsignore | ||
CMakeLists.txt | ||
Makefile.am | ||
test-ssl.c | ||
test-sslclient.c | ||
test-sslserver.c | ||
vio.c | ||
vio_priv.h | ||
viosocket.c | ||
viossl.c | ||
viosslfactories.c | ||
viotest-ssl.c | ||
viotest-sslconnect.cc | ||
viotest.cc |