diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-05-22 14:06:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-05-22 14:06:39 -0400 |
commit | a3fadddd4a08d1eeb1f0cf100d3fd6c60f445fcc (patch) | |
tree | 200788a3df638ba209818aabb942e3ae9426890a /src/or/eventdns.h | |
parent | 4201a3735f21e257494b8d523ebb19059caf4da3 (diff) | |
download | tor-a3fadddd4a08d1eeb1f0cf100d3fd6c60f445fcc.tar tor-a3fadddd4a08d1eeb1f0cf100d3fd6c60f445fcc.tar.gz |
Improved bug-957 fix for 0.2.2.
Really, our idiocy was that we were calling event_set() on the same
event more than once, which sometimes led to us calling event_set() on
an event that was already inserted, thus making it look uninserted.
With this patch, we just initialize the timeout events when we create
the requests and nameservers, and we don't need to worry about
double-add and double-del cases at all.
Diffstat (limited to 'src/or/eventdns.h')
0 files changed, 0 insertions, 0 deletions