]> git.apps.os.sepia.ceph.com Git - ceph.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:49:49 +0000 (09:49 +0100)
commit54df7fb33b451c5ae25ef2501c61664d40373a59
tree819dca47d85373a11ec44f8d0f38f749a21650ff
parent5fe61d40283da24ca3f5f9f724887bfc8c09bf47
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