Expand description
A simple reverse-proxy implementation for onion services.
Structsยง
- Onion
Service Reverse Proxy - A reverse proxy that handles connections from an
OnionServiceby routing them to local addresses. - State ๐
- Mutable part of an RProxy
Enumsยง
- Handle
Requests Error - An error that prevents further progress while processing requests.
- Request
Failed ๐ - An error from a single attempt to handle an onion service request.
Constantsยง
- STREAM_
BUF_ ๐LEN - Size of buffer to use for communication between Arti and the target service.
Functionsยง
- forward_
connection ๐ - Try to open a connection to an appropriate local target using
target_stream_future. If successful, try to report success onrequestand transmit data between the two stream indefinitely. On failure, closerequest. - run_
action ๐ - Take the configured action from
actionon the incoming requestrequest.