diff options
author | Alexander Færøy <ahf@torproject.org> | 2018-12-20 03:55:02 +0100 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2018-12-20 03:55:02 +0100 |
commit | 4efe4cc2f918ce45075b010d2cdc09ec7791ac6b (patch) | |
tree | cde7a4670aa361d00aa3a6c251ed19b572d018d5 /src/feature/client/transports.h | |
parent | 426c52b377057dc5f4428c664ee56ca77d648c9e (diff) | |
download | tor-4efe4cc2f918ce45075b010d2cdc09ec7791ac6b.tar.gz tor-4efe4cc2f918ce45075b010d2cdc09ec7791ac6b.zip |
Add support for STATUS messages from Pluggable Transports.
This patch adds support for the new STATUS message that PT's can emit
from their standard out. The STATUS message uses the `config_line_t` K/V
format that was recently added in Tor.
See: https://bugs.torproject.org/28846
Diffstat (limited to 'src/feature/client/transports.h')
-rw-r--r-- | src/feature/client/transports.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/client/transports.h b/src/feature/client/transports.h index b8d1bb0081..1a910ae82c 100644 --- a/src/feature/client/transports.h +++ b/src/feature/client/transports.h @@ -129,6 +129,7 @@ STATIC void parse_env_error(const char *line); STATIC void parse_proxy_error(const char *line); STATIC void handle_proxy_line(const char *line, managed_proxy_t *mp); STATIC void parse_log_line(const char *line, managed_proxy_t *mp); +STATIC void parse_status_line(const char *line, managed_proxy_t *mp); STATIC char *get_transport_options_for_server_proxy(const managed_proxy_t *mp); STATIC void managed_proxy_destroy(managed_proxy_t *mp, |