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

boost-1.66 regression in ssl socket wrapper #74

Closed
arvidn opened this issue Dec 14, 2017 · 1 comment
Closed

boost-1.66 regression in ssl socket wrapper #74

arvidn opened this issue Dec 14, 2017 · 1 comment

Comments

@arvidn
Copy link

arvidn commented Dec 14, 2017

I'm wrapping my custom socket type in the boost::asio::ssl::stream wrapper. Building with boost-1.66-rc1 I get a compilation error caused by the way the ssl wrapper use read_some().

According to the documentation the function takes a MutableBufferSequence, defined here
to have a const_iterator type and begin() and end() functions, to iterate the buffer sequence.

However, in the boost-1.66-rc1 version of asio's ssl stream wrapper, it calls read_some() (here) with a boost::asio::mutable_buffer (i.e. not a sequence). It passes core.input_buffer_ which is defined here.

As far as I can tell, core.input_buffer should be of type boost::asio::mutable_buffers_1. Making this change makes my program build again.

@arvidn
Copy link
Author

arvidn commented Dec 14, 2017

explained here: #75 (comment)

@arvidn arvidn closed this as completed Dec 14, 2017
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

1 participant