diff options
author | Casey Bodley <cbodley@redhat.com> | 2017-10-21 22:22:45 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2018-06-13 08:09:21 +0200 |
commit | 7d949170f845d7fd14f93d2c0cd8b31cb3264b71 (patch) | |
tree | ff5196188620ddff7b76862429e2c799b0cfcf92 /src/crimson/net/Errors.cc | |
parent | msg: add seastar messenger error code framework (diff) | |
download | ceph-7d949170f845d7fd14f93d2c0cd8b31cb3264b71.tar.xz ceph-7d949170f845d7fd14f93d2c0cd8b31cb3264b71.zip |
msg: add seastar SocketConnection
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/crimson/net/Errors.cc')
-rw-r--r-- | src/crimson/net/Errors.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crimson/net/Errors.cc b/src/crimson/net/Errors.cc index 1ac6fe8c483..fe182377dfc 100644 --- a/src/crimson/net/Errors.cc +++ b/src/crimson/net/Errors.cc @@ -25,6 +25,8 @@ const std::error_category& net_category() std::string message(int ev) const override { switch (static_cast<error>(ev)) { + case error::read_eof: + return "read eof"; case error::connection_aborted: return "connection aborted"; case error::connection_refused: |