Build MySQL 4.1.9 with SSL support
I built MySQL server from the source with enabled HAVE_OPENSSL. I've tried to test this build and fall into situation when MySQL server closes the connection because of timeout after short period of time(5 sec). I checked all the related server variables and they setup by default with reasonable timeout. I debug the server code and found out that connection timeout(5sec) fires after connection phase, when server waits for incomming command. I looked into viossl.c and found following code:
void vio_ssl_timeout(Vio *vio __attribute__((unused)),
uint timeout __attribute__((unused)))
{
/* Not yet implemented (non critical) */
}
I copied implementation of this method from viosocket.c and seems like it fixes the issue.
I tested server with client that uses libmySQL.dll from this build it works OK, without timeout issue. My components use direct access to MySQL server and implements connection protocol. The difference is that LibMySQL uses 41 version of protocol, but my components implement older version.
Can someone comment, please, why it's "non critical"(server doesn't work without it in my case)? If it's "non critical", what should I do to make server working?
Can I use SSL using older version of server protocol then 41?
regards,
Oleg
Subject
Views
Written By
Posted
Build MySQL 4.1.9 with SSL support
4558
February 11, 2005 03:16AM
2603
February 11, 2005 03:25AM
2931
June 17, 2005 04:21AM
3848
June 18, 2005 12:48AM
2598
June 20, 2005 12:09AM
2401
June 22, 2005 12:43AM
2461
June 23, 2005 01:55AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.