Skip to content

Standard mysql uses the socket options for TCP_NODELAY and KEEPALIVE. #249

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

Merged
merged 1 commit into from
Sep 9, 2021

Conversation

schveiguy
Copy link
Collaborator

@schveiguy schveiguy commented Sep 4, 2021

This is a rehash of #221 and #248 . This should fix #247

@schveiguy
Copy link
Collaborator Author

ping @webloft this is what I'm thinking should be done.

should do the same. One can always override the defaults by setting a
callback socket creation routine.
@schveiguy
Copy link
Collaborator Author

All green. Good to have at least another set of eyes on it. Any comments? If I don't hear by tomorrow, I'll merge and then do a new release. Ping @kubo39 too.

BTW, thanks for poking me enough to get me to realize the discrepancy between the official library and this one.

@schveiguy schveiguy merged commit 91dfb48 into mysql-d:master Sep 9, 2021
@schveiguy schveiguy deleted the tcpnodelay branch September 9, 2021 20:47
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

Successfully merging this pull request may close these issues.

TCP_NODELAY should be done by default
1 participant