[tor-bugs] #4312 [Tor Relay]: Rate limit renegotiations
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Thu Nov 10 18:52:43 UTC 2011
#4312: Rate limit renegotiations
-----------------------+----------------------------------------------------
Reporter: asn | Owner:
Type: defect | Status: needs_review
Priority: normal | Milestone:
Component: Tor Relay | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
Comment(by asn):
OK, I started something on my 'branch4312_dev' branch.
I have to leave now, so I'll leave it here in case you want to take it on.
It seems to work, but:
* I'm not sure if asking for <event.h> to get event_base_once() in the
non-bufferevents case is reasonable, or I should stick with the old
approach in the non-bufferevents case.
* I see a memleak in tor_tls_handshake() in the non-bufferevents case,
which I haven't had the time to fix. I think it's caused by the way I
close the connection in connection_or_close_connection_cb().
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4312#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list