Opened 8 years ago

Last modified 8 years ago

#255 new enhancement

test unix-domain sockets — at Version 1

Reported by: Brian Warner Owned by:
Priority: major Milestone: undecided
Component: network Version: 0.9.1
Keywords: Cc:

Description (last modified by Brian Warner)

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.

Change History (1)

comment:1 Changed 8 years ago by Brian Warner

Description: modified (diff)
Note: See TracTickets for help on using tickets.