summaryrefslogtreecommitdiff
path: root/src/or/dns.c
AgeCommit message (Collapse)Author
2005-04-26a bit more debug infoRoger Dingledine
svn:r4119
2005-04-26add more debugging info to help us find the weird dns freebsd pthreads bug.Roger Dingledine
svn:r4117
2005-04-26clean up this TOR_FRAGILE businessRoger Dingledine
svn:r4116
2005-04-06stop wasting time doing a case insensitive comparison for every dns nameRoger Dingledine
every time we do any lookup. canonicalize the names to lowercase and be done with it. svn:r4035
2005-04-06Rename circuit_get_by_stream to circuit_get_by_edge_conn, and actually start ↵Nick Mathewson
using it. Watch out, kids! svn:r4026
2005-04-06Add a pointer from edge connections to their corresponding circuit (ulp!); ↵Nick Mathewson
add some debugging sanity-checking for cirid_orconn_map stuff svn:r4024
2005-04-06Fix format warningNick Mathewson
svn:r4022
2005-04-06a bit more data on gene's dns threading bugRoger Dingledine
svn:r4019
2005-04-04Make last fix work on windows too.Nick Mathewson
svn:r4009
2005-04-04Fix possible bug on threading platforms with running out of fds do to ↵Nick Mathewson
cpuworkers and dnsworkers. svn:r4008
2005-04-01update copyright notices.Nick Mathewson
svn:r3982
2005-03-14fix an assert trigger in cvs: if a resolve request fails, and the circuitRoger Dingledine
has vanished in the meantime, then we would both mark it for close (i.e. put it on the closeable list) and also immediately free it. svn:r3759
2005-03-14Renormalize whitespaceNick Mathewson
svn:r3757
2005-03-01Revise all calls to connection_edge_end to avoid sending MISC, and to take ↵Nick Mathewson
errno into account where possible. svn:r3720
2005-02-11Free even more things on shutdown. Temporarily move tor_free_all out from ↵Nick Mathewson
#ifdef so it gets tested more. svn:r3614
2005-02-05Fix tor-resolve implementation to prevent crashes and send resolves when we ↵Nick Mathewson
should. svn:r3561
2005-02-04forward-port the logic skew and double-free thingRoger Dingledine
svn:r3549
2005-02-01define TOR_FRAGILE if you want tor to give you a core whenRoger Dingledine
something goes wrong. this should only be used by people actively tracking bugs. svn:r3487
2005-01-28forward-port the dns and maxconn fixesRoger Dingledine
svn:r3448
2005-01-19Give more useful log messages when the tor process closes dns/cpuworker ↵Nick Mathewson
connections. "Error: Success!" makes us seem like crazy people." svn:r3373
2005-01-04fix duplicate dns_cancel_pending_resolve reported by Giorgos PallasRoger Dingledine
svn:r3293
2005-01-04bandaid: make Giorgos Pallas's dns assert bug not actually crash on him.Roger Dingledine
one day we should try to figure out what's actually going on here. svn:r3280
2005-01-03More work on task #43: fix race conditions on multithreaded (win32) servers.Nick Mathewson
svn:r3251
2005-01-03Possible fix for task #43: when running on a multithreaded environment ↵Nick Mathewson
(currently only windows), threads should not close opposite sides of their socketpairs, and workers should not call connection_free_all(). This may fix win32 servers. svn:r3247
2004-12-13clean up logging,Roger Dingledine
make it clearer which warns are bugs, make the control log event match its specification, point out a bug in how we deal with failure when renewing the tls context. svn:r3138
2004-12-06More win32 fixes: 1) tolerate extra "readable" events better. 2) when being ↵Nick Mathewson
multithreaded, leave parent fdarray open. svn:r3092
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019
2004-11-28wrong is ok, and right is fine, but in between is apparentlyRoger Dingledine
totally unacceptable to me. svn:r3005
2004-11-28Normalize space: add one between every control keyword and control clause.Nick Mathewson
svn:r3003
2004-11-26remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine
svn:r2989
2004-11-21break reached_eof() out of process_inbuf()Roger Dingledine
svn:r2930
2004-11-12Resolve a bunch of FIXME items; mark a lot more for attention; ask for ↵Nick Mathewson
clarification on some. Turn all XXXX008 ("showstopper for 0.0.8 release") items into XXXX009 or XXXX, since plainly they were not showstoppers for 0.0.8. Add/clean some docs. svn:r2808
2004-11-07Clean up copyrights.Roger Dingledine
Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
2004-11-06Make options no longer a global variable.Roger Dingledine
Now we can try setting an option but back out if it fails to parse, or if it's disallowed (e.g. changing RunAsDaemon from 1 to 0). Use parse_line_from_str rather than parse_line_from_file. svn:r2692
2004-10-27Fix windows buildNick Mathewson
svn:r2613
2004-10-27Use strlcpy, not strcpy.Nick Mathewson
svn:r2610
2004-10-27Use strlcpy, not strncpyNick Mathewson
svn:r2603
2004-10-16don't assert multiple things in the same tor_assert()Roger Dingledine
svn:r2544
2004-10-16fix memory leak in router.c; start relying on NULL==(zero bytes)Nick Mathewson
svn:r2538
2004-10-14more int to size_t conversions, fixing one or more amd64 bugsRoger Dingledine
plus a whitespace patch on config.c from vicman svn:r2482
2004-09-22people are starting to bump into the limit of 50 dns workers.Roger Dingledine
raise it to 100 for now. we need a better solution long-term. but alas, there are no better solutions that are also portable. hm. svn:r2363
2004-09-21Attach dummy resolve connections to a circuit *before* calling ↵Nick Mathewson
dns_resolve(). This fixes a bug where cached answers would never be sent in RESOLVED cells. svn:r2360
2004-09-21bugfix: when a resolve fails for a begin request, actually sendRoger Dingledine
the end cell back. also, give a better reason for failure. svn:r2358
2004-09-21Bugfix: When a dns request failed, we would detach any "resolving" streams ↵Nick Mathewson
from the circuit before we would send a the resolve_failed cells. svn:r2355
2004-08-25Fix a symptom for a bug that straycat found.Roger Dingledine
Apparently in rare cases poll() is returning POLLIN for an idle dns worker. It reads no bytes, presumably because the idle dns worker didn't write anything in the first place. Gosh, who knows. Now we only trigger the assert if the idle dns worker actually tries to send an answer to us. svn:r2311
2004-08-08let children survive sigint, sigterm, etc.Roger Dingledine
this was biting us because ^c would get delivered to all of them, maybe because they were all still listening to stdin? svn:r2197
2004-08-05note a bug in our dns error handling. we should fix this sometime.Roger Dingledine
svn:r2149
2004-07-22stop using atexit() to remove our pid, since it's calledRoger Dingledine
immediately when we daemonize. also drop our retry period for hidserv desc uploads from 10m to 5m svn:r2111
2004-07-06Fix bug reported by peter palfrader: an empty address is unresolvable, but ↵Nick Mathewson
not an occasion for an assertion failure in a dnsworker. svn:r2015
2004-07-04When tor_lookup_hostname says 0.0.0.0, treat it as an error.Nick Mathewson
svn:r2003