Opened 9 years ago
Last modified 9 years ago
#255 new enhancement
test unix-domain sockets — at Initial Version
Reported by: | Brian Warner | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | undecided |
Component: | network | Version: | 0.9.1 |
Keywords: | Cc: |
Description
A quick glance at twisted/internet/unix.py suggests that the unix-domain Server
and Port
classes inherit from their tcp.*
cousins, which would mean .startTLS()
should work on them. That'd be great, because then we could use unix-domain sockets for e.g. SOCKS and txtorcon
connections, instead of localhost-bound TCP.
We should test this. The test should do tub.listenOn("unix:/tmp/filename")
. We also need a connection handler that knows how to make unix-domain outbound sockets, maybe something to wire a TCP socket to a unix one.
and startTLS
Note: See
TracTickets for help on using
tickets.