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

Cleanup: tighter const safety declarations in transport layer and SSL manager

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 131

      While working on BF ticket I found the code will be a lot more easier to reason about if the methods and fields in TransportLayer, SSLManagerInterface and ASIOSession are changed to const.

      The main idea of this change is to prove that creating new connections on transport is not mutating the transport itself.

      I will not enumerate details because the change is already made and I will post the CR shortly.

            Assignee:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Reporter:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: