Commit c1bf5ba2 authored by Georg Richter's avatar Georg Richter Committed by Vladislav Vaintroub

Revert "On Windows SSL works with sockets only, so we shouldn't tell the client"

This reverts commit 2ee149be4e9319208dfcfb77712aa1ef805f6ba8.
parent 33e5a8ab
......@@ -11260,16 +11260,13 @@ static bool send_server_handshake_packet(MPVIO_EXT *mpvio,
*end++= protocol_version;
thd->client_capabilities= CLIENT_BASIC_FLAGS;
if (opt_using_transactions)
thd->client_capabilities|= CLIENT_TRANSACTIONS;
thd->client_capabilities|= CAN_CLIENT_COMPRESS;
/* Currently we support SSL with sockets only */
if (thd->active_vio->type != VIO_TYPE_NAMEDPIPE &&
thd->active_vio->type != VIO_TYPE_SHARED_MEMORY &&
ssl_acceptor_fd)
if (ssl_acceptor_fd)
{
thd->client_capabilities |= CLIENT_SSL;
thd->client_capabilities |= CLIENT_SSL_VERIFY_SERVER_CERT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment