-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Boost 1.87 compatibility #8533
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
Boost 1.87 compatibility #8533
Conversation
zwass
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes make sense to me based on the documented deprecations and removals.
@alessandrogario @Smjert do we need to update the submodule to be building with 1.87?
| client_options_.remote_hostname_->c_str()); | ||
|
|
||
| ssl_sock_->set_verify_callback(boost::asio::ssl::rfc2818_verification( | ||
| ssl_sock_->set_verify_callback(boost::asio::ssl::host_name_verification( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| { | ||
| boost::system::error_code rc; | ||
| ioc_.run(rc); | ||
| ioc_.reset(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
||
| { | ||
| boost::system::error_code rc; | ||
| ioc_.run(rc); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zwass
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We just discussed in office hours. As far as we can tell, the changes ARE compatible with boost 1.86. @carlsmedstad did we miss something?
Going to go ahead and merge this, but not bumping Boost at this time because we'd want to do some extensive testing.
Don't have time to look into it again, but it's likely I mistakenly thought it wasn't backwards compatible. |
I'm currently rebuilding osquery for Boost 1.87 on Arch Linux and have produced this compatibility patch.
These changes are not backwards compatible with Boost 1.86, but that could be fixed with some
#if BOOST_VERSIONchecks if needed. Let me know if that's the case.Thanks!