twisted / twisted/twisted

`IReactorUNIX.connectUNIX` is missing a parameter to specify the bind address.

Open
#5,654 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core enhancement new priority-normal
Dominant language
Python
Stars
6k
Forks
1.2k
Avg merge
2d 10h
Merged PRs (30d)
10

Description

exarkun's avatar @exarkun reported
Trac ID trac#5654
Type enhancement
Created 2012-04-24 11:56:23Z

The client part of a UNIX connection can be bound to a specific address, just as is the case for TCP clients. IReactorUNIX does not expose this functionality, though.

As a related issue, twisted.internet.unix.Client.getHost always returns UNIXAddress(None), since presumably it thinks there is no way applications could have bound to another address (which is currently true).

Searchable metadata
trac-id__5654 5654
type__enhancement enhancement
reporter__exarkun exarkun
priority__normal normal
milestone__ 
branch__ 
branch_author__ 
status__new new
resolution__None None
component__core core
keywords__ 
time__1335268583000000 1335268583000000
changetime__1485167369277888 1485167369277888
version__None None
owner__ 

Contributor guide

Open the contributing guide

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.

Research direction

Start with the IReactorUNIX.connectUNIX API and the related twisted.internet.unix.Client.getHost behavior described in the issue. Trace how UNIX client connections represent their local address, then define completion as supporting a specified bind address and reporting it through getHost consistently.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.