mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge branch 'tor-github/pr/1587'
This commit is contained in:
commit
b7304027f6
4
changes/bug32639
Normal file
4
changes/bug32639
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
o Minor bugfixes (onion services):
|
||||||
|
- In cancel_descriptor_fetches(), use connection_list_by_type_purpose()
|
||||||
|
instead of connection_list_by_type_state(). Fixes bug 32639; bugfix on
|
||||||
|
0.3.2.1-alpha. Patch by Neel Chauhan.
|
@ -145,7 +145,7 @@ static void
|
|||||||
cancel_descriptor_fetches(void)
|
cancel_descriptor_fetches(void)
|
||||||
{
|
{
|
||||||
smartlist_t *conns =
|
smartlist_t *conns =
|
||||||
connection_list_by_type_state(CONN_TYPE_DIR, DIR_PURPOSE_FETCH_HSDESC);
|
connection_list_by_type_purpose(CONN_TYPE_DIR, DIR_PURPOSE_FETCH_HSDESC);
|
||||||
SMARTLIST_FOREACH_BEGIN(conns, connection_t *, conn) {
|
SMARTLIST_FOREACH_BEGIN(conns, connection_t *, conn) {
|
||||||
const hs_ident_dir_conn_t *ident = TO_DIR_CONN(conn)->hs_ident;
|
const hs_ident_dir_conn_t *ident = TO_DIR_CONN(conn)->hs_ident;
|
||||||
if (BUG(ident == NULL)) {
|
if (BUG(ident == NULL)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user