Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1464

async-std connection establishment is blocking

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.3.1, 2.4.0
    • Affects Version/s: None
    • Component/s: None

      We currently use socket2::connect to establish connections on async-std. This is a synchronous method, so it will block the runtime thread that is currently executing it. We should update this to use async-std's TcpStream instead.

            Assignee:
            patrick.freed@mongodb.com Patrick Freed
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: