Bug 19859: Add HTTPCONNECT client protocol

This commit is contained in:
JeremyRand 2019-10-27 04:16:07 +00:00
parent 23819d3a66
commit 56ee42e1c9
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570

View File

@ -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",