Default connection handlers should be an object, not a dict #4032

Open
opened 2023-06-05 16:53:58 +00:00 by itamarst · 0 comments

Right now, the configuration for outgoing TCP connections, e.g. "TCP should use Tor" is a dictionary, since that is what Foolscap requires.

Given a move away from Foolscap, there are other places using this information, e.g. the HTTP storage protocol. In those situations one might want to ask "is this using Tor?", and a dictionary of strings is not a very well-structured way of getting this information.

Right now, the configuration for outgoing TCP connections, e.g. "TCP should use Tor" is a dictionary, since that is what Foolscap requires. Given a move away from Foolscap, there are other places using this information, e.g. the HTTP storage protocol. In those situations one might want to ask "is this using Tor?", and a dictionary of strings is not a very well-structured way of getting this information.
itamarst added the
unknown
normal
enhancement
n/a
labels 2023-06-05 16:53:58 +00:00
itamarst added this to the HTTP Storage Protocol v2 milestone 2023-06-05 16:53:58 +00:00
Sign in to join this conversation.
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#4032
No description provided.