]> 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>
Fri, 13 Dec 2024 12:44:44 +0000 (13:44 +0100)
commite305a5908bd7bd3f2fa906af8521aea989f0c0ca
treebdb86e83f11c93bf2e6d0fbee4fcd92b5f5a5046
parent8566224e9406abca42925f8045077141c2724bed
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>
src/librbd/migration/HttpClient.cc