Can the asynchronous client connect operation support asynchronous mode to avoid connect blocking?

Open
#265 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
api, networking

Research direction

Start by locating the Rust asynchronous client connect operation and the socket setup it uses. Review how the socket is configured before connect, then verify that enabling nonblocking mode avoids connect blocking while preserving the client's connection behavior.

Written by the indexing model from the issue text.

Description

Which feature do you think can be improved?

Can the asynchronous client connect operation support asynchronous mode to avoid connect blocking?

How can it be improved?

make socket O_NONBLOCK before connect

Additional Information

Anything else to add?

Before raising this feature request

Have you looked at the limitations document?

Dominant language
Rust
Stars
374
Forks
64
Avg merge
3d 5h
Merged PRs (30d)
6

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from containerd/ttrpc-rust

All issues in containerd/ttrpc-rust

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.