diff options
author | George Kadianakis <desnacked@gmail.com> | 2011-10-24 15:59:11 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@gmail.com> | 2011-10-24 15:59:11 +0200 |
commit | 572aa4ec44223e581665026aa36b6e416558e115 (patch) | |
tree | 6efab4dcb029cba4a7c3e8442d304e67c79c2b08 /src/or/transports.h | |
parent | 20be928fae017ed373dc4f7de54741e28d8af168 (diff) | |
download | tor-572aa4ec44223e581665026aa36b6e416558e115.tar.gz tor-572aa4ec44223e581665026aa36b6e416558e115.zip |
Add PT_PROTO_FAILED_LAUNCH managed proxy state.
We used to try to terminate the managed proxy process even if it
failed while launching. We introduce a new managed proxy state, to
represent a *broken* and *not launched* proxy.
Diffstat (limited to 'src/or/transports.h')
-rw-r--r-- | src/or/transports.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/transports.h b/src/or/transports.h index fee9c7773c..314af2b3a0 100644 --- a/src/or/transports.h +++ b/src/or/transports.h @@ -36,7 +36,8 @@ enum pt_proto_state { PT_PROTO_ACCEPTING_METHODS, /* accepting methods */ PT_PROTO_CONFIGURED, /* configured successfully */ PT_PROTO_COMPLETED, /* configure and registered its transports */ - PT_PROTO_BROKEN + PT_PROTO_BROKEN, /* broke during the protocol */ + PT_PROTO_FAILED_LAUNCH /* failed while launching */ }; /** Structure containing information of a managed proxy. */ |