8000 conmand takes a long time until connecting to a newly created UNIX socket · Issue #28 · dun/conman · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
conmand takes a long time until connecting to a newly created UNIX socket #28
Closed
@e4t

Description

@e4t

If a UNIX socket is created after conmand has started there may be a long delay until it connects to it.
Conmand watches for the appearance of new sockets using inotify, however, inotify triggers (and causes poll() to return) when the side creating the socket has bind()ed to the socket. At this time it is yet possible to connect() - this will not happen until the other side calls listen(). Thus the connect() after being invoked by inotify will most likely fail and conmand will return to poll() waiting for further events or a timeout. The timeouts are increased each time they are triggered up to a maximum of 3 minutes currently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0