SSL timeout bug fixed. Timeout was constant 60 seconds instead of 28800
This commit is contained in:
parent
28340acf02
commit
147b21a430
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user