It the code I see that the module attempts to reconnect only on errors 
CR_SERVER_GONE_ERROR and  CR_SERVER_LOST.

It appears that in this case the error code is CR_SSL_CONNECTION_ERROR.

We can add this code to the condition to attempt to re-connect, but I wonder if 
other codes should be added, the list is at:

  * 
https://dev.mysql.com/doc/refman/5.5/en/error-messages-client.html#error_cr_ssl_connection_error

If you want to try yourself, see modules/db_mysql/km_dbase.c, line 116.

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/406#issuecomment-158985365
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to