summaryrefslogtreecommitdiffstats
path: root/src/crimson/net/Errors.cc
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2017-10-21 22:34:12 +0200
committerKefu Chai <kchai@redhat.com>2018-06-13 08:09:22 +0200
commit3e5621b09d05839ae3805dab4b049fd37096cba8 (patch)
treee7c59ae939bd06b76ebc414a580394e87e1f479c /src/crimson/net/Errors.cc
parenttest: add unit test for seastar messenger (diff)
downloadceph-3e5621b09d05839ae3805dab4b049fd37096cba8.tar.xz
ceph-3e5621b09d05839ae3805dab4b049fd37096cba8.zip
msg: start on SocketConnection negotiation
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/crimson/net/Errors.cc')
-rw-r--r--src/crimson/net/Errors.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/crimson/net/Errors.cc b/src/crimson/net/Errors.cc
index fe182377dfc..e925b9acd35 100644
--- a/src/crimson/net/Errors.cc
+++ b/src/crimson/net/Errors.cc
@@ -25,6 +25,12 @@ const std::error_category& net_category()
std::string message(int ev) const override {
switch (static_cast<error>(ev)) {
+ case error::bad_connect_banner:
+ return "bad connect banner";
+ case error::bad_peer_address:
+ return "bad peer address";
+ case error::negotiation_failure:
+ return "negotiation failure";
case error::read_eof:
return "read eof";
case error::connection_aborted: