Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1879

Clean up socket if an error occurs during connection connect!

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.10.0.rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Currently, if an error occurs while connecting a connection, the socket is never closed, and the socket instance variable is not set. This means that even when the connection is closed, the socket will not be closed. The code should be modified to close the socket if an error occurs during connection.

            Assignee:
            hana.pearlman@mongodb.com Hana Pearlman
            Reporter:
            hana.pearlman@mongodb.com Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: