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

ASIO cancel() should preempt any outstanding network requests

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.9
    • Affects Version/s: None
    • Component/s: Networking
    • None
    • Fully Compatible
    • Platform 9 (09/18/15)

      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.

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

              Created:
              Updated:
              Resolved: