mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Bug 19859: Add HTTPCONNECT client protocol
This commit is contained in:
parent
23819d3a66
commit
56ee42e1c9
@ -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_TRANS_LISTENER: client_protocol = "TRANS"; break;
|
||||||
case CONN_TYPE_AP_NATD_LISTENER: client_protocol = "NATD"; 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_DNS_LISTENER: client_protocol = "DNS"; break;
|
||||||
|
case CONN_TYPE_AP_HTTP_CONNECT_LISTENER:
|
||||||
|
client_protocol = "HTTPCONNECT"; break;
|
||||||
default: client_protocol = "UNKNOWN";
|
default: client_protocol = "UNKNOWN";
|
||||||
}
|
}
|
||||||
smartlist_add_asprintf(descparts, "CLIENT_PROTOCOL=%s",
|
smartlist_add_asprintf(descparts, "CLIENT_PROTOCOL=%s",
|
||||||
|
Loading…
Reference in New Issue
Block a user