Nick Mathewson
|
a42adce362
fix memory leak in router.c; start relying on NULL==(zero bytes)
|
21 年之前 |
Roger Dingledine
|
aebc3a03ba
more int to size_t conversions, fixing one or more amd64 bugs
|
21 年之前 |
Roger Dingledine
|
013104a1e2
people are starting to bump into the limit of 50 dns workers.
|
21 年之前 |
Nick Mathewson
|
9defe8a307
Attach dummy resolve connections to a circuit *before* calling dns_resolve(). This fixes a bug where cached answers would never be sent in RESOLVED cells.
|
21 年之前 |
Roger Dingledine
|
d977677aa8
bugfix: when a resolve fails for a begin request, actually send
|
21 年之前 |
Nick Mathewson
|
0dcc8c7048
Bugfix: When a dns request failed, we would detach any "resolving" streams from the circuit before we would send a the resolve_failed cells.
|
21 年之前 |
Roger Dingledine
|
be7909f670
Fix a symptom for a bug that straycat found.
|
21 年之前 |
Roger Dingledine
|
05790d1722
let children survive sigint, sigterm, etc.
|
21 年之前 |
Roger Dingledine
|
3b00c950c2
note a bug in our dns error handling. we should fix this sometime.
|
21 年之前 |
Roger Dingledine
|
aebec8ab9e
stop using atexit() to remove our pid, since it's called
|
21 年之前 |
Nick Mathewson
|
d5e275ddf4
Fix bug reported by peter palfrader: an empty address is unresolvable, but not an occasion for an assertion failure in a dnsworker.
|
21 年之前 |
Nick Mathewson
|
0f3fcfd1db
When tor_lookup_hostname says 0.0.0.0, treat it as an error.
|
21 年之前 |
Nick Mathewson
|
3708886939
Implement RESOLVE/RESOLVED cells and socks resolve code
|
21 年之前 |
Nick Mathewson
|
184f4e6044
Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config settings too
|
21 年之前 |
Roger Dingledine
|
69931106f8
be sure to detach streams from the circuit linked list before freeing them
|
21 年之前 |
Nick Mathewson
|
0932505829
Only connection_dns_remove resolving exit connections
|
21 年之前 |
Nick Mathewson
|
0d20fee2fb
Add more asserts to dns-pending connections; fix a couple seeming bugs.
|
21 年之前 |
Roger Dingledine
|
f51061439b
when the dns resolve is cancelled, or fails, be sure to remove
|
21 年之前 |
Roger Dingledine
|
b37450ce55
do all the heavy lifting in connection_about_to_close_connection,
|
21 年之前 |
Roger Dingledine
|
1cf1836990
break connection_edge_end out of connection_mark_for_close
|
21 年之前 |
Nick Mathewson
|
537fb82cbb
Make some functions static
|
21 年之前 |
Roger Dingledine
|
3cdf2d67da
it's amazing what a bit of punctuation can do for appearances
|
21 年之前 |
Roger Dingledine
|
6168b3222e
a few more pieces of markup
|
21 年之前 |
Roger Dingledine
|
341d6f2cab
more cleanup, including fleshing out or.h more
|
21 年之前 |
Nick Mathewson
|
81922a125c
More doxygenation.
|
21 年之前 |
Roger Dingledine
|
c6d4a00c5f
more doxygen markup
|
21 年之前 |
Roger Dingledine
|
9bf9ca4d09
bugfix: add a circ->resolving_streams field, and make dns resolving streams not actually in the connection_array until they're done resolving.
|
21 年之前 |
Nick Mathewson
|
682a805092
Comments for nearly all non-tricky files
|
21 年之前 |
Nick Mathewson
|
af08c4f878
Working strerror for windows socket errors, plus some snide comments.
|
21 年之前 |
Nick Mathewson
|
9322641710
Use socketclose on windows as appropriate; end pid files with newline
|
21 年之前 |