Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msg/async: harden error logic handle #9781

Merged
merged 5 commits into from Jun 29, 2016
Merged

Commits on Jun 28, 2016

  1. msg/async/Epoll: make sure error event can be handle

    Signed-off-by: Haomai Wang <haomai@xsky.com>
    yuyuyu101 committed Jun 28, 2016
    Copy the full SHA
    5a20a6a View commit details
    Browse the repository at this point in the history
  2. msg/async: Consolidate accept error handle

    The original logic is from
    ceph@ba140b5
    I think it doesn't make sense in detail errno case.
    
    Signed-off-by: Haomai Wang <haomai@xsky.com>
    yuyuyu101 committed Jun 28, 2016
    Copy the full SHA
    f97d0d2 View commit details
    Browse the repository at this point in the history
  3. msg/async/AsyncConnection: handle send buffer overflow case

    It's rare happen in real env, because each socket has enough write buffer
    to store a little handshake info.
    
    Just harden the current codes
    
    Signed-off-by: Haomai Wang <haomai@xsky.com>
    yuyuyu101 committed Jun 28, 2016
    Copy the full SHA
    fba59af View commit details
    Browse the repository at this point in the history
  4. msg/async: keep out_seq inc/dec with sent messages

    Partial revert 84b9088
    Signed-off-by: Haomai Wang <haomai@xsky.com>
    yuyuyu101 committed Jun 28, 2016
    Copy the full SHA
    70cc070 View commit details
    Browse the repository at this point in the history
  5. msg/async/AsyncMessenger: make sure all connections closed then shutd…

    …own dq
    
    1. ensure stop accepter before shutdown dispatcherqueue
    2. ensure we don't generate new item after dispatcher queue shutdown
    
    Signed-off-by: Haomai Wang <haomai@xsky.com>
    yuyuyu101 committed Jun 28, 2016
    Copy the full SHA
    f6c73e9 View commit details
    Browse the repository at this point in the history