]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd/migration/HttpClient: propagate ec to handle_handshake()
authorIlya Dryomov <idryomov@gmail.com>
Sat, 7 Dec 2024 11:37:29 +0000 (12:37 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 16 Dec 2024 08:51:26 +0000 (09:51 +0100)
commit17b35b3d3c87f166d41bf0887df0b9acbc2712fc
tree0775acdbb3a04a97290abd2e6a3561fe61774baa
parent4e1a80584c4626c9dc31bbb66eb0ae0149732cab
librbd/migration/HttpClient: propagate ec to handle_handshake()

Get rid of get_callback_adapter() which only obfuscates the error:

  handle_handshake: failed to complete SSL handshake: (337047686) Unknown error 337047686

vs

  handle_handshake: failed to complete SSL handshake: certificate verify failed (SSL routines, tls_process_server_certificate)

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit e305a5908bd7bd3f2fa906af8521aea989f0c0ca)
src/librbd/migration/HttpClient.cc