mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Document some channel_matches_extend_info issues that confused me.
This commit is contained in:
parent
adec471595
commit
f64cf09eb2
@ -3255,6 +3255,9 @@ channel_when_last_xmit(channel_t *chan)
|
||||
*
|
||||
* This function calls the lower layer and asks if this channel matches a
|
||||
* given extend_info_t.
|
||||
*
|
||||
* NOTE that this function only checks for an address/port match, and should
|
||||
* be used only when no identity is available.
|
||||
*/
|
||||
int
|
||||
channel_matches_extend_info(channel_t *chan, extend_info_t *extend_info)
|
||||
|
@ -667,6 +667,9 @@ channel_tls_is_canonical_method(channel_t *chan, int req)
|
||||
*
|
||||
* This implements the matches_extend_info method for channel_tls_t; the upper
|
||||
* layer wants to know if this channel matches an extend_info_t.
|
||||
*
|
||||
* NOTE that this function only checks for an address/port match, and should
|
||||
* be used only when no identify is available.
|
||||
*/
|
||||
static int
|
||||
channel_tls_matches_extend_info_method(channel_t *chan,
|
||||
|
Loading…
Reference in New Issue
Block a user