[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #28717 [Core Tor/Tor]: Tor stuck in 25% Loading networkstatus consensus
#28717: Tor stuck in 25% Loading networkstatus consensus
--------------------------+----------------------------------
Reporter: loskiq | Owner: (none)
Type: defect | Status: needs_review
Priority: Medium | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version: Tor: 0.3.4.9
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+----------------------------------
Comment (by cypherpunks3):
See old code for "called_loop_once =
smartlist_len(active_linked_connection_lst) ? 1 : 0;"
Stucked at:
{{{
diff --git a/src/or/connection.c a/src/or/connection.c
index 0a2a635..0e051a5 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -3428,6 +3428,8 @@ connection_handle_read_impl(connection_t *conn)
if (!buf_datalen(linked->outbuf) && conn->active_on_link)
connection_stop_reading_from_linked_conn(conn);
+ /* Now. Now. If code still reading from connection then code */
+ /* must to reactivate event. It's linked connection. */
}
/* If we hit the EOF, call connection_reached_eof(). */
if (!conn->marked_for_close &&
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28717#comment:28>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs