]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/migration: helper tool for parsing URLs into parts
authorJason Dillaman <dillaman@redhat.com>
Mon, 2 Nov 2020 15:22:47 +0000 (10:22 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 16 Nov 2020 23:16:24 +0000 (18:16 -0500)
commit46c0275ddfdeebd95d4e393791db1259df87b136
tree75fdfd03aa6e592f80eb0011645d2a0753157edf
parent074dd33c4f0112839a7c51ab97c805ee288d84c1
librbd/migration: helper tool for parsing URLs into parts

The boost::beast framework doesn't include a URL parser but the
HTTP client requires the host, port, and path to be specified
seperately. Additionally, if https is utilized the http stream
needs to be wrapped with an SSL stream.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/CMakeLists.txt
src/librbd/migration/Types.h [new file with mode: 0644]
src/librbd/migration/Utils.cc [new file with mode: 0644]
src/librbd/migration/Utils.h [new file with mode: 0644]
src/test/librbd/CMakeLists.txt
src/test/librbd/migration/test_mock_Utils.cc [new file with mode: 0644]