]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd/migration/HttpClient: Use asio::ssl::stream
authorAdam Emerson <aemerson@redhat.com>
Thu, 9 Jan 2025 23:54:11 +0000 (18:54 -0500)
committerAdam Emerson <aemerson@redhat.com>
Mon, 13 Jan 2025 14:10:52 +0000 (09:10 -0500)
commitfb05a2ff0f8cc55997b532bae8271914768306b5
tree40b91f507a20ec97e09284aac088cf7a5386baad
parentd44b2227cdc6d1e2ad4b242473f6c392419d6fbf
librbd/migration/HttpClient: Use asio::ssl::stream

`beast::ssl_stream` is deprecated as of 1.86, and its loss of the move
constructor keeps it from compiling on that version.

Hopefully this passes tests on 1.85, too, or it will have to wait
until the boost bump.

Signed-off-by: Adam Emerson <aemerson@redhat.com>
src/librbd/migration/HttpClient.cc
src/librbd/migration/HttpClient.h
src/test/librbd/migration/test_mock_HttpClient.cc