Skip to content

vhost-user: Avoid blocking indefinitely when connecting to already connected socket #8052

@rbradford

Description

@rbradford
  • Client mode (connect_vhost_user(server=false)): retries for 60s then returns Error::VhostUserConnect — not an infinite hang, but still a 60s stall on a duplicate socket that a quick check would avoid.
  • Server mode (connect_vhost_user(server=true)): listener.accept() blocks indefinitely — same class of problem.

Originally posted by @maxpain in #8049 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions