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

ASIO cancel() should preempt any outstanding network requests

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.9
    • None
    • Networking
    • None
    • Fully Compatible
    • Platform 9 (09/18/15)

    Description

      If I have an outstanding ASIO network request waiting for a response, I should be able to asynchronously cancel the request from another thread, and such a request should abandon any current network operation and return immediately with some sort of "cancelled" error response.
      This will be useful for implementing 'shutdown' and implementing timeouts, among other things.

      Attachments

        Activity

          People

            adam.midvidy Adam Midvidy
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: