Ticket #137 (new enhancement)

Opened 1 year ago

Last modified 7 months ago

Tub.listenOn(portfile=)

Reported by: warner Assigned to:
Priority: major Milestone: undecided
Component: usability Version: 0.4.1
Keywords: Cc:

Description

It would be handy to have a portfile= argument to Tub.listenOn(), just like Tub(certFile=) and Tub.registerReference(furlFile=). This would simplify the Tahoe and flappserver setup code that tries to handle port=0 (by saving the kernel-assigned port number in a file, and then re-using it on later invocations).

Attachments

137.diff (7.1 kB) - added by warner on 01/11/10 18:48:45.
starting point for this feature

Change History

01/11/10 18:46:39 changed by warner

  • milestone changed from 0.5.0 to undecided.

I'm still trying to figure out how this would work, exactly. The last time I looked at it, I got myself confused as to which port number specification should be dominant, and how to handle things like "tcp:0:interface=127.0.0.1".

01/11/10 18:48:45 changed by warner

  • attachment 137.diff added.

starting point for this feature