mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
SSL timeout bug fixed. Timeout was constant 60 seconds instead of 28800
This commit is contained in:
@@ -433,7 +433,7 @@ check_connections(THD *thd)
|
|||||||
DBUG_PRINT("info", ("Agreed to change IO layer to SSL") );
|
DBUG_PRINT("info", ("Agreed to change IO layer to SSL") );
|
||||||
/* Do the SSL layering. */
|
/* Do the SSL layering. */
|
||||||
DBUG_PRINT("info", ("IO layer change in progress..."));
|
DBUG_PRINT("info", ("IO layer change in progress..."));
|
||||||
sslaccept(ssl_acceptor_fd, net->vio, (long)60L);
|
sslaccept(ssl_acceptor_fd, net->vio, thd->inactive_timeout);
|
||||||
DBUG_PRINT("info", ("Reading user information over SSL layer"));
|
DBUG_PRINT("info", ("Reading user information over SSL layer"));
|
||||||
if ((pkt_len=my_net_read(net)) == packet_error ||
|
if ((pkt_len=my_net_read(net)) == packet_error ||
|
||||||
pkt_len < NORMAL_HANDSHAKE_SIZE)
|
pkt_len < NORMAL_HANDSHAKE_SIZE)
|
||||||
|
Reference in New Issue
Block a user