Hi,

The boost libraries beast and asio seem to disagree on whether a socket/stream 
should offer the lowest_layer() method or not. Boost::beast::tcp_stream has 
only private versions of this method and the associated typedef 
lowest_layer_type, while e.g. boost::asio::ssl::stream still requires this 
method. The replacement get_lowest_layer() is only offered in beast.

For  boost::asio::ssl::stream this is handled by boost::beast::tcp_stream 
declaring boost::asio::ssl::stream as friend, so offering access to 
lowest_layer().

But I have my own ssl stream, based on a different SSL library than openssl, 
and this stream class is also (because it is based on boost::asio::ssl::stream) 
dependant on lowest_layer().

I think, boost::beast and boost::asio should agree on whether to deprecate 
lowest_layer() and offer get_lowest_layer(), or not.


Klebsch Mario
Funktion | R&D



Tel: +49 (0) 531 38 701 718
Raum: Braunschweig, E20



Diese E-Mail und die an sie angehängten Dateien sind ausschließlich für 
Personen oder Institutionen bestimmt, deren Namen oben aufgeführt sind. Sie 
können Informationen enthalten, die durch das Berufsgeheimnis geschützt sind 
und deren Weitergabe strengstens untersagt ist. Jede elektronische Nachricht 
kann geändert werden. ACTIA lehnt jede Verantwortung für diese Nachricht ab. 
Der Inhalt dieser Nachricht stellt keine Verpflichtung seitens unseres 
Unternehmens dar. Wenn Sie kein Empfänger sind, weisen wir Sie darauf hin, dass 
das Lesen, Vervielfältigen oder Verteilen strengstens untersagt ist. Wir bitten 
Sie daher, uns umgehend über diesen Brief zu informieren und diese Nachricht 
sowie eventuell beigefügte Unterlagen aus Ihrem Postfach zu löschen. Danke.

This e-mail and the files attached to it are intended exclusively for persons 
or institutions whose names are listed above. They may contain information that 
is protected by professional secrecy and the disclosure of which is strictly 
prohibited. Any electronic message can be modified. ACTIA declines all 
responsibility for this message. The content of this message does not represent 
a commitment on the part of our company. If you are not a recipient, we would 
like to point out that reading, copying or distribution is strictly prohibited. 
We therefore ask you to inform us immediately about this letter and to delete 
this message and any accompanying documents from your mailbox. Thank you.



_______________________________________________
Boost-users mailing list -- boost-users@lists.boost.org
To unsubscribe send an email to boost-users-le...@lists.boost.org
https://lists.boost.org/mailman3/lists/boost-users.lists.boost.org/
Archived at: 
https://lists.boost.org/archives/list/boost-users@lists.boost.org/message/E2IWQ4DITGHJQZU2WEMXLI4LIX5MQT6R/
 

Reply via email to