control-spec.txt says GETCONF takes at least one argument. Tor currently allows there to be zero arguments for GETCONF. If there are zero arguments, it replies with 250 OK. A reply with a keyword and no = can mean that a configuration variable has its default value. We've therefore committed to having no configuration variables named OK. I suppose that's OK.
Probably the easiest thing to do is to document the existing behavior.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
We talked about rejecting GETCONF with no arguments, but we decided it was easier to update the spec. We were concerned that we might break controllers that depend on the incorrect behaviour. And it seems like such a trivial issue to risk breaking a controller.
We can talk about it again at our next team meeting, if you'd like.
If we do decide to reject GETCONF with no arguments, we'll also need to change the spec to document the versions that (mistakenly) accepted no arguments.
We talked about rejecting GETCONF with no arguments, but we decided it was easier to update the spec. We were concerned that we might break controllers that depend on the incorrect behaviour. And it seems like such a trivial issue to risk breaking a controller.
We can talk about it again at our next team meeting, if you'd like.
If we do decide to reject GETCONF with no arguments, we'll also need to change the spec to document the versions that (mistakenly) accepted no arguments.
We should figure out which stakeholders we should consult about this behavior change, because I think not all of them regularly attend our team meetings.