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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • 131

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: