summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorunknown <tonu@volk.internalnet>2001-11-01 19:10:55 +0200
committerunknown <tonu@volk.internalnet>2001-11-01 19:10:55 +0200
commit147b21a430756ee07c482064ba97035489d2981c (patch)
tree199dc97b66438432ddaf7f0f04fa2bf786e66a69 /sql/sql_parse.cc
parent28340acf023071c6a62655342faf0b4dca041039 (diff)
downloadmariadb-git-147b21a430756ee07c482064ba97035489d2981c.tar.gz
SSL timeout bug fixed. Timeout was constant 60 seconds instead of 28800
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index f8bc02c9f19..767ef41e848 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -433,7 +433,7 @@ check_connections(THD *thd)
DBUG_PRINT("info", ("Agreed to change IO layer to SSL") );
/* Do the SSL layering. */
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"));
if ((pkt_len=my_net_read(net)) == packet_error ||
pkt_len < NORMAL_HANDSHAKE_SIZE)