[tor-dev] Tor Control Protocol: multiple commands in a single line possible?

grarpamp grarpamp at gmail.com
Sun Jan 10 21:57:38 UTC 2016


Parsing and escaping things on one line is often a pain.

Atomic batching might be useful, though I've no use case.

< BATCH BEG label
< cmd1
< cmdN
< BATCH END label
< BATCH PRINT / DELETE label
< BATCH EXEC label [instance]
> BATCH RESULT label [instance]
< BATCH RESULT AUTODEL params [label]
[if RESULTs are buffers instead of immediate pipes]


More information about the tor-dev mailing list