[tor-commits] [tor/master] Bug 19859: Add HTTPCONNECT client protocol

nickm at torproject.org nickm at torproject.org
Mon Nov 25 13:41:25 UTC 2019


commit 56ee42e1c9d5dbdf4e038701dabf43d02d8ea712
Author: JeremyRand <biolizard89 at gmail.com>
Date:   Sun Oct 27 04:16:07 2019 +0000

    Bug 19859: Add HTTPCONNECT client protocol
---
 src/feature/control/control_fmt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/feature/control/control_fmt.c b/src/feature/control/control_fmt.c
index a48c89e6c..9e7fc42c3 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",





More information about the tor-commits mailing list