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

Do not make throwing asio library calls from within async callbacks

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.2
    • Sprint:
      Platforms 2016-10-31
    • Linked BF Score:
      0

      Description

      The following asio library calls may throw, and we should not call them from within NetworkInterfaceASIO. Many of these methods have non-throwing variants:

      asio::io_service::run()
      asio::system_timer constructor
      asio::system_timer::cancel()
      asio::system_timer::expires_at(time point)
      asio::system_timer::expires_after(duration)
      asio::system_timer::wait()

      This list may not be exhaustive.

        Attachments

          Activity

            People

            Assignee:
            samantha.ritter Samantha Ritter
            Reporter:
            samantha.ritter Samantha Ritter
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: