]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/net: fix Socket::read_exactly(0) case
authorYingxin Cheng <yingxincheng@gmail.com>
Thu, 21 Mar 2019 14:21:07 +0000 (22:21 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 5 Apr 2019 03:21:19 +0000 (11:21 +0800)
commitb6beb6888541cdad67b6bf0c4e6198ce31219c42
tree6ecb75ddf64b717e41bedc813e0fcd6535e0bcf3
parentef680adb59dae616b63d687995d0d22f5daf6888
crimson/net: fix Socket::read_exactly(0) case

Do not raise read_eof when try to read 0 bytes.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
src/crimson/net/Socket.cc