[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #5650 [Tor]: Tor hogging CPU
#5650: Tor hogging CPU
-----------------------+----------------------------------------------------
Reporter: One Sock | Owner: nickm
Type: defect | Status: needs_review
Priority: major | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version:
Keywords: tor-relay | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
Changes (by nickm):
* status: assigned => needs_review
Comment:
Okay, it looks like this is happening while we get a write event on a
connection in state OR_CONN_STATE_TLS_SERVER_RENEGOTIATING. We then call
"connection_or_handle_read", since we expect that we're in read-blocked-
on-write state. But in fact there is nothing to read.
I have a more or less totally untested fix in my branch "bug5650" in my
public repository. It's against 0.2.3. It needs testing!
I'll also attach it as a patch. Please let me know if it stops this bug,
or breaks the server entirely, or what.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5650#comment:13>
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