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

Give different messages for different connection failure reasons

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 4.0.8, 4.1.7
    • Networking
    • None
    • Fully Compatible
    • v4.0
    • Service Arch 2019-01-28

    Description

      Right now, eof, econnreset, and enetreset all have the same message from asio_utils.h. While the result is very similar, they mean different things. We should have different error codes so that we can diagnose the underlying reason more quickly.

      Attachments

        Issue Links

          Activity

            People

              jonathan.ma@mongodb.com Jonathan Ma
              ben.caimano@mongodb.com Benjamin Caimano (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: