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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: