rainbow: small refactors, and improve request forwarding (#1023)
A bit of this is moving code around so I could understand which pieces
were doing what. Then improved how the request proxying and requestCrawl
forwarding stuff works, as part of new relay ops.
None of the core configuration or behaviors should change: I tweaked
some argument names, but not the env var names, so nothing about how we
deploy/operate rainbow should change.
No behavior of the core code (ringbuf, upstream websocket subscription,
or serving to clients) has changed.
authored by
bnewbold.net
and committed by
GitHub
539c5771
d6e162c3