Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41975

Skip ASIO::basic_socket::cancel() in session_asio.h

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service Arch 2019-07-15
    • 20

      This branch is pessimistic when called in the context of end(). getSocket()->cancel() is an unnecessary operation right before getSocket()->shutdown() and the destruction of the underlying socket. We cannot hit the baton branch in end() because we do not pass in a baton. We should remove cancelAsyncOperations() from end().

            Assignee:
            rahul.sundararaman@mongodb.com Rahul Sundararaman (Inactive)
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: