mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
forward-port r14373
svn:r14374
This commit is contained in:
parent
133aeafb29
commit
20f927c2dd
@ -485,7 +485,9 @@ connection_about_to_close_connection(connection_t *conn)
|
|||||||
* retry as needed. (If a fetch is successful, the connection state
|
* retry as needed. (If a fetch is successful, the connection state
|
||||||
* is changed to DIR_PURPOSE_HAS_FETCHED_RENDDESC to mark that
|
* is changed to DIR_PURPOSE_HAS_FETCHED_RENDDESC to mark that
|
||||||
* refetching is unnecessary.) */
|
* refetching is unnecessary.) */
|
||||||
if (conn->purpose == DIR_PURPOSE_FETCH_RENDDESC_V2)
|
if (conn->purpose == DIR_PURPOSE_FETCH_RENDDESC_V2 &&
|
||||||
|
dir_conn->rend_query &&
|
||||||
|
strlen(dir_conn->rend_query) == REND_SERVICE_ID_LEN_BASE32)
|
||||||
rend_client_refetch_v2_renddesc(dir_conn->rend_query);
|
rend_client_refetch_v2_renddesc(dir_conn->rend_query);
|
||||||
break;
|
break;
|
||||||
case CONN_TYPE_OR:
|
case CONN_TYPE_OR:
|
||||||
|
Loading…
Reference in New Issue
Block a user