Nick Mathewson
|
b4a7883c90
make code more readable; arrbitrarily change a -1 to a 0.
|
20 年之前 |
Nick Mathewson
|
4e89c6661a
Push responsibility for connection marking down as far as possible; have only a close path; add some missing end cells; change return conventions a little.
|
20 年之前 |
Roger Dingledine
|
611f117ce1
patches/answers to nick's commit
|
20 年之前 |
Nick Mathewson
|
c5bbb571d2
Refactor mark_for_close, connection_edge_end and friends. Now, everybody
|
20 年之前 |
Roger Dingledine
|
195dfd35a8
Fix a bug where you might flush some data on a tls connection, and then
|
20 年之前 |
Roger Dingledine
|
4c48359ece
break out the operations done on sighup into their own function
|
20 年之前 |
Roger Dingledine
|
43156904ce
dump a new router.desc on hup
|
20 年之前 |
Roger Dingledine
|
0b27ae0c2d
if the default torrc isn't there, just use some default defaults
|
20 年之前 |
Nick Mathewson
|
67a273962a
On OSX, decline to use the built-in select-baed poll wrapper, since it seems to sometimes not work.
|
20 年之前 |
Roger Dingledine
|
afdaff63ef
turn some knobs, add more debugging
|
20 年之前 |
Roger Dingledine
|
3516ae1a26
add an ap_conn connecting state; report connecting delay
|
20 年之前 |
Roger Dingledine
|
fb81a32c68
setuid to User _before_ complaining about running as root
|
20 年之前 |
Roger Dingledine
|
561c6236af
fix some errors in logs and comments
|
20 年之前 |
Roger Dingledine
|
5086300815
split the token bucket into 'rate' and 'burst' params
|
20 年之前 |
Roger Dingledine
|
607078cf70
print an entry at the top of the logfile so you know it's working
|
20 年之前 |
Nick Mathewson
|
cacacfe2b1
Integrate new daemon code, adapted from submission by christian grothoff
|
20 年之前 |
Roger Dingledine
|
55a94cd497
correct a warn message in mark_if_closed
|
20 年之前 |
Roger Dingledine
|
a5aa80cc41
make --debuglogfile (or any second log file) work
|
20 年之前 |
Roger Dingledine
|
36ea39ec9c
on hup, close and rebind listener ports too (in case their config has changed)
|
20 年之前 |
Roger Dingledine
|
2997ef8dd9
warn if you're running tor as root
|
20 年之前 |
Roger Dingledine
|
25e7e97d73
on HUP, retry OR connections, and stop clobbering the dirserver's routerlist
|
20 年之前 |
Roger Dingledine
|
c25fbd2676
break routers.c into router.c for stuff the router does,
|
20 年之前 |
Roger Dingledine
|
e0952d0773
terminology shift:
|
20 年之前 |
Roger Dingledine
|
975bb68010
simplify: options.OnionRouter==1 iff options.ORPort>0
|
20 年之前 |
Roger Dingledine
|
d6601f8cff
make pidfile default to null rather than writing to your cwd
|
20 年之前 |
Nick Mathewson
|
fd07872a72
Separate failure-count tracking from circuit-launching.
|
20 年之前 |
Peter Palfrader
|
9a676b04dd
Check that we can write to the logfile and log a warning to stderr if we can't
|
20 年之前 |
Roger Dingledine
|
f0cccc567e
bugfix: don't ask for ->next of an expired circuit
|
20 年之前 |
Roger Dingledine
|
a3e39b0ceb
don't build too many circs at once
|
20 年之前 |
Roger Dingledine
|
4aede010b9
recognize in-progress circs and don't start redundant ones
|
20 年之前 |