TlsChannelStreamFactoryFactory.TlsChannelStream.initializeTslChannel leaks socket channels under some conditions

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.10.0
    • Component/s: Connection Management
    • None
    • None
    • Java Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      We open a new socket channel here, then we connect it here (this starts establishing a TCP connection asynchronously), and fail to close it here, if an exception happens anywhere here.

      This leaves dangling established TCP connections until MongoClient is closed.

      This bug is different from JAVA-5859.

            Assignee:
            Slav Babanin
            Reporter:
            Valentin Kavalenka
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: