Skip to content

Replacing deprecated max_connections with max_listen_connections #880

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

Closed
wants to merge 2 commits into from

Conversation

kheaactua
Copy link
Contributor

@kheaactua kheaactua commented Apr 4, 2025

This symbol has been deprecated since at least 1.74, and is removed in 1.87.

Replacing it with max_listen_connections as recommended here: https://beta.boost.org/doc/libs/1_86_0/doc/html/boost_asio/reference/socket_base.html

Both these symbols are available in 1.66 so this shouldn't have an impact on backwards compatibility

Notes

asio::io_context::post was also removed - it was deprecated even in 1.66. The recommended alternative is asio::io_context::post(ctx) - I'll deal with this in another PR

This symbol has been deprecated since at least 1.74, and is removed in 1.87
@kheaactua kheaactua force-pushed the boost_max_connections branch from a1f7eab to 9ffa989 Compare April 4, 2025 16:05
@fcmonteiro
Copy link
Collaborator

We have an internal draft pr with boost 1.87.0 compatibility that includes this. :)

@kheaactua kheaactua closed this Apr 7, 2025
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.

2 participants