]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/migration: implement a callback hook for processing http requests
authorJason Dillaman <dillaman@redhat.com>
Fri, 13 Nov 2020 02:17:43 +0000 (21:17 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 23 Nov 2020 13:45:50 +0000 (08:45 -0500)
commit7e3fa13ab3e6e568a11bee0e9e60e58f3a1726de
treebedca93abcda500b2c0bf900b3315dc1709e97a7
parentfef41bf131212c097d41773c2b12f0fb9830b5d2
librbd/migration: implement a callback hook for processing http requests

The S3 authentication scheme requires adding additional headers to the
outbound request as well as computing a secure signature for the request
using the secret key.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/migration/HttpClient.cc
src/librbd/migration/HttpClient.h
src/librbd/migration/HttpProcessorInterface.h [new file with mode: 0644]
src/test/librbd/migration/test_mock_HttpClient.cc