Closed jajik closed 1 month ago
There are commands whose parameters may change settings of the proxy but their processing repeats code and checks only non-default options. E.g.
if (strcasecmp(key, "Reversed") == 0) { if (strcasecmp(val, "yes") == 0) { nodeinfo->mess.reversed = 1; } }
We should update this approach with some appropriate abstraction covering all options.
To be clear, for example requests with following options Reversed=yes&Reversed=no are not handled properly.
Reversed=yes&Reversed=no
There are commands whose parameters may change settings of the proxy but their processing repeats code and checks only non-default options. E.g.
We should update this approach with some appropriate abstraction covering all options.