Handle interruptions during TLS handshake

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • ALL
    • N&O Prioritized List, Networking & Obs 2025-01-20
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Our logic atop ASIO handles interruptions during reads/writes from TLS sockets (e.g. see here), however, it bubbles up interruptions during TLS handshake. This would result in closing both ingress and egress sessions, while we should be able to retry the system call and complete the handshake, thus saving the underlying socket. This was surfaced by SERVER-96106 and as part of injecting interruption signals into database threads.

              Assignee:
              Unassigned
              Reporter:
              Amirsaman Memaripour
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: