aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
Commit message (Collapse)AuthorAge
...
* note a bug in our dns error handling. we should fix this sometime.Roger Dingledine2004-08-05
| | | | svn:r2149
* stop using atexit() to remove our pid, since it's calledRoger Dingledine2004-07-22
| | | | | | | | | immediately when we daemonize. also drop our retry period for hidserv desc uploads from 10m to 5m svn:r2111
* Fix bug reported by peter palfrader: an empty address is unresolvable, but ↵Nick Mathewson2004-07-06
| | | | | | not an occasion for an assertion failure in a dnsworker. svn:r2015
* When tor_lookup_hostname says 0.0.0.0, treat it as an error.Nick Mathewson2004-07-04
| | | | svn:r2003
* Implement RESOLVE/RESOLVED cells and socks resolve codeNick Mathewson2004-06-17
| | | | svn:r1978
* Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config settings tooNick Mathewson2004-06-06
| | | | svn:r1950
* be sure to detach streams from the circuit linked list before freeing themRoger Dingledine2004-06-02
| | | | | | | also, don't bother marking a conn for close if you're about to free it svn:r1935
* Only connection_dns_remove resolving exit connectionsNick Mathewson2004-06-02
| | | | svn:r1934
* Add more asserts to dns-pending connections; fix a couple seeming bugs.Nick Mathewson2004-06-01
| | | | svn:r1931
* when the dns resolve is cancelled, or fails, be sure to removeRoger Dingledine2004-05-21
| | | | | | | | | conn from circ->resolving_streams otherwise it gets freed and stays there, causing seg faults. svn:r1915
* do all the heavy lifting in connection_about_to_close_connection,Roger Dingledine2004-05-19
| | | | | | | | | not in _connection_mark_for_close this will hopefully clean up the huge cyclical function mess svn:r1903
* break connection_edge_end out of connection_mark_for_closeRoger Dingledine2004-05-12
| | | | svn:r1858
* Make some functions staticNick Mathewson2004-05-12
| | | | svn:r1857
* it's amazing what a bit of punctuation can do for appearancesRoger Dingledine2004-05-10
| | | | svn:r1843
* a few more pieces of markupRoger Dingledine2004-05-10
| | | | svn:r1841
* more cleanup, including fleshing out or.h moreRoger Dingledine2004-05-10
| | | | svn:r1839
* More doxygenation.Nick Mathewson2004-05-10
| | | | svn:r1832
* more doxygen markupRoger Dingledine2004-05-09
| | | | | | | plenty more remains svn:r1824
* bugfix: add a circ->resolving_streams field, and make dns resolving ↵Roger Dingledine2004-05-06
| | | | | | | | | | | | streams not actually in the connection_array until they're done resolving. bugfix: actually complain if we duplicate mark-for-close a circuit add more logging for relay ends that claim dns resolve failed, so we can find out why they're not being retried. svn:r1798
* Comments for nearly all non-tricky filesNick Mathewson2004-05-05
| | | | svn:r1796
* Working strerror for windows socket errors, plus some snide comments.Nick Mathewson2004-05-02
| | | | svn:r1775
* Use socketclose on windows as appropriate; end pid files with newlineNick Mathewson2004-04-28
| | | | svn:r1745
* bug resolved (hopefully), so remove commentRoger Dingledine2004-04-28
| | | | svn:r1738
* clean dns.c betterRoger Dingledine2004-04-28
| | | | svn:r1737
* fix a bug in dns.c, note but don't fix another oneRoger Dingledine2004-04-28
| | | | svn:r1735
* Workarounds for a couple of pieces of windows strangeness.Nick Mathewson2004-04-28
| | | | svn:r1734
* use tor_assertRoger Dingledine2004-04-25
| | | | | | | remove obsolete BUF_OK macro svn:r1697
* Cosmetic patch for arma's fix for The Bug: Don't set the state toNick Mathewson2004-04-11
| | | | | | | | RESOLVEFAILED if the resolve didn't fail; set it to CONNECTING instead. svn:r1590
* continue beating at pieces of The BugRoger Dingledine2004-04-09
| | | | svn:r1588
* if dns resolve is valid, but our exit policy rejects it orRoger Dingledine2004-04-09
| | | | | | | | | | | the connect attempt fails immediately, we were trying to double-remove it from the dns pending list. i think this might have been The Bug. (thanks weasel!) svn:r1587
* get more serious about hunting The BugRoger Dingledine2004-04-09
| | | | | | | (it has been haunting us since the days of 0.0.2preX) svn:r1576
* Delete trailing whitespace and expand tabs; remove unused aes decrypt codeNick Mathewson2004-04-07
| | | | svn:r1522
* clean up a few more bugsRoger Dingledine2004-03-29
| | | | svn:r1365
* make normal exit nodes less likely to crash from the conn-munging bugRoger Dingledine2004-03-29
| | | | | | | but leave dirservers just as likely to crash svn:r1363
* make dns resolves a lot fasterRoger Dingledine2004-03-28
| | | | | | | (but only enable this once we've found the bug) svn:r1358
* there is yet another dns-pending-conn-clobbering bugRoger Dingledine2004-03-28
| | | | | | | somewhere svn:r1354
* deal with hardware word alignmentRoger Dingledine2004-03-20
| | | | | | | | | this was causing the seg faults on sparc processors i wonder if i got them all. svn:r1314
* don't close all the fd's when you spawn a thread, only when you forkRoger Dingledine2004-03-12
| | | | svn:r1267
* bugfix: we were caching transient dns failuresRoger Dingledine2004-03-12
| | | | svn:r1266
* Make all the other read/writes into recv/sends, except when they shouldn't be.Nick Mathewson2004-03-11
| | | | svn:r1260
* stop asserting that computers always go forward in timeRoger Dingledine2004-03-06
| | | | | | | it's simply not true svn:r1236
* make workers explain their death better when tor diesRoger Dingledine2004-03-04
| | | | | | | and make them say it at log level info rather than err svn:r1232
* bugfix: don't pass complex things to the connection_mark_for_close macroRoger Dingledine2004-03-04
| | | | svn:r1231
* Clean up dns->connection_mark_for_close->dns_remove pathNick Mathewson2004-03-04
| | | | svn:r1230
* fix the function commentRoger Dingledine2004-02-28
| | | | svn:r1169
* Split dns_cancel_pending_resolve into dns_cancel_pending_resolve (kill aNick Mathewson2004-02-28
| | | | | | | | resolve in response to a DNS worker dying) and connection_dns_remove (remove a pending connection from the resolve structure.) svn:r1168
* add a log_warn to notify us of yet another potential dns.c bugRoger Dingledine2004-02-28
| | | | svn:r1167
* Make dns_cancel_pending_resolve less agressive.Nick Mathewson2004-02-28
| | | | svn:r1166
* Fix bug on dns_found_answer from mark_to_close stuff.Nick Mathewson2004-02-28
| | | | svn:r1165
* remove assert from dns.c that's no longer true:Roger Dingledine2004-02-28
| | | | | | | | | typically the resolve will be pending, but it could be failed if it just failed and we're working through the 'pending' list, or it could be valid if some other dnsworker raced us to fill in the entry. svn:r1164