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

remove the Socket class

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service Arch

      We have a Socket class in util/net/sock.h

      This doesn't use ASIO so they're in a completely different API from the transport layer.
      But the transport layer tries to reuse some of the Socket configuration functions in socket_util.h, like setSocketKeepAliveParams or disableNagle.

      This is unfortunate, because we have to break our sockets out of ASIO with native_handle calls to do this, and we don't get the benefits of ASIO's abstractions, and we have two ways to do the same socket configurations.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: