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
itamarst commented 2023-06-05 16:53:58 +00:00
Owner

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.
tahoe-lafs added the
unknown
normal
enhancement
n/a
labels 2023-06-05 16:53:58 +00:00
tahoe-lafs added this to the HTTP Storage Protocol v2 milestone 2023-06-05 16:53:58 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

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