aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremyRand <biolizard89@gmail.com>2019-10-27 04:16:07 +0000
committerJeremyRand <biolizard89@gmail.com>2019-10-27 05:14:21 +0000
commit56ee42e1c9d5dbdf4e038701dabf43d02d8ea712 (patch)
treec4562a3a536ab517f2565cb1f673090e4f0028b9
parent23819d3a662635f0c7a28c33c145cf65839e056c (diff)
downloadtor-56ee42e1c9d5dbdf4e038701dabf43d02d8ea712.tar.gz
tor-56ee42e1c9d5dbdf4e038701dabf43d02d8ea712.zip
Bug 19859: Add HTTPCONNECT client protocol
-rw-r--r--src/feature/control/control_fmt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/control/control_fmt.c b/src/feature/control/control_fmt.c
index a48c89e6c7..9e7fc42c3b 100644
--- a/src/feature/control/control_fmt.c
+++ b/src/feature/control/control_fmt.c
@@ -204,6 +204,8 @@ entry_connection_describe_status_for_controller(const entry_connection_t *conn)
case CONN_TYPE_AP_TRANS_LISTENER: client_protocol = "TRANS"; break;
case CONN_TYPE_AP_NATD_LISTENER: client_protocol = "NATD"; break;
case CONN_TYPE_AP_DNS_LISTENER: client_protocol = "DNS"; break;
+ case CONN_TYPE_AP_HTTP_CONNECT_LISTENER:
+ client_protocol = "HTTPCONNECT"; break;
default: client_protocol = "UNKNOWN";
}
smartlist_add_asprintf(descparts, "CLIENT_PROTOCOL=%s",