Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About read-timeout of MySQL #57

Closed
oolong-high opened this issue Aug 25, 2016 · 2 comments
Closed

About read-timeout of MySQL #57

oolong-high opened this issue Aug 25, 2016 · 2 comments

Comments

@oolong-high
Copy link

[Assumed cause]
Because "MYSQL_OPT_READ_TIMEOUT" is not set, coturn cannot detect mysql_ping timeout.
I think coturn shoud have "READ_TIMEOUT" setting(like tomcat) to detect mysql_ping timeout.

[Possible modification]
Set "READ_TIMEOUT" just after coturn sets "CONNECT_TIMEOUT".

[Target source]
coturn-master\src\apps\relay\dbdrivers\dbd_mysql.c

@misi
Copy link
Contributor

misi commented Aug 25, 2016

Could you please send a pull request?

@mom040267
Copy link
Contributor

I committed fix for that. It will be officially supported in 4.5.0.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants