| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
Add unit tests for tor_mmap_file(); make tor_mmap_t.size always be the size of the file (not the size of the mapping); add an extra argument to read_file_to_str() so it can return the size of the result string.
svn:r8762
|
|
|
|
|
|
|
| |
Differentiate more duplicated log entries
svn:r8542
|
|
|
|
|
|
|
| |
Patch from Tup to add support for transparent AP connections: this basically bundles the functionality of trans-proxy-tor into the tor mainline. Now hosts with compliant pf/netfilter implementations can redirect TCP connections straight to Tor without diverting through SOCKS.
svn:r7007
|
|
|
|
|
|
|
| |
Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness.
svn:r6906
|
|
|
|
|
|
| |
arithmetic either.
svn:r6785
|
|
|
|
|
|
| |
and double, and needs more persuasion than usual to cast one to the other. Issue identified by Frediano Ziglio; patch revised for minimal impact on non-MSVC6 compilers.
svn:r6768
|
|
|
|
|
|
|
|
| |
bandwidth state. this fixes the particular incident in bug 308,
but the general issue remains.
svn:r6684
|
|
|
|
|
|
|
|
| |
to see what other log messages keep switching back and forth
between GMT and local.
svn:r6411
|
|
|
|
|
|
| |
could never ever exhaust our bandwidth limit. This should resolve bug 130.
svn:r6146
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Surround all constants by (parens), whether we'll be using them
in a denominator or not.
2) Express all time periods as products (24*60*60), not as multiplied-out
constants (86400).
3) Comments like "(60*60) /* one hour */" are as pointless as comments
like "c = a + b; /* set c to the sum of a and b */". Remove them.
4) All time periods should be #defined constants, not given inline.
5) All time periods should have doxygen comments.
6) All time periods, unless specified, are in seconds. It's not necessary
to say so.
To summarize, the old (lack of) style would allow:
#define FOO_RETRY_INTERVAL 60*60 /* one hour (seconds) */
next_try = now + 3600;
The new style is:
/** How often do we reattempt foo? */
#define FOO_RETRY_INTERVAL (60*60)
next_try = now + RETRY_INTERVAL;
svn:r6142
|
|
|
|
|
|
|
| |
i hope they appreciate it.
svn:r6004
|
|
|
|
| |
svn:r5949
|
|
|
|
|
|
| |
intended.
svn:r5582
|
|
|
|
|
|
|
|
|
|
|
|
| |
we screwed up the formatting in wild and unpredictable ways.
fix it before it becomes convention to format logs in wild and
unpredictable ways.
still need to do src/common/ someday.
svn:r5551
|
|
|
|
|
|
| |
160-character-per-line limit; this will creep down.
svn:r5548
|
|
|
|
| |
svn:r5369
|
|
|
|
| |
svn:r5317
|
|
|
|
| |
svn:r5315
|
|
|
|
| |
svn:r5033
|
|
|
|
| |
svn:r4752
|
|
|
|
|
|
| |
does not handle accounting info yet.
svn:r4680
|
|
|
|
| |
svn:r4640
|
|
|
|
| |
svn:r4637
|
|
|
|
| |
svn:r4632
|
|
|
|
|
|
| |
function definition format uniform.
svn:r4411
|
|
|
|
| |
svn:r4382
|
|
|
|
| |
svn:r4378
|
|
|
|
|
|
| |
called on a marked connection; rename it to connection_mark_unattached_ap.
svn:r3990
|
|
|
|
| |
svn:r3982
|
|
|
|
|
|
|
|
| |
the socks reject. audit for remaining ones. also make things more
uniform so we always remember to hold-open-until-flushed, etc.
svn:r3891
|
|
|
|
| |
svn:r3752
|
|
|
|
|
|
| |
errno into account where possible.
svn:r3720
|
|
|
|
|
|
| |
Use mutexes to fake _r where necessary. Make mutexes no-ops where no threading is enabled.
svn:r3653
|
|
|
|
|
|
|
| |
closes bug 91.
svn:r3611
|
|
|
|
| |
svn:r3503
|
|
|
|
|
|
|
|
|
| |
not 99%. This is especially important for daily hibernators who
have a small accounting max. Hopefully it will result in fewer
cut connections when the hard hibernation starts.
svn:r3488
|
|
|
|
|
|
|
|
| |
since if you hibernate daily a published uptime of >1day
will be misleading.
svn:r3356
|
|
|
|
|
|
| |
file.
svn:r3155
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r3123
|
|
|
|
| |
svn:r3118
|
|
|
|
|
|
|
| |
than just chopping them off
svn:r3083
|
|
|
|
| |
svn:r3080
|
|
|
|
| |
svn:r3052
|
|
|
|
|
|
| |
every file.
svn:r3019
|
|
|
|
| |
svn:r3003
|
|
|
|
| |
svn:r2963
|
|
|
|
|
|
|
|
|
| |
nick: we need to figure out if we should say anything different
here when the wake-up time and the expected back-to-sleep time
have both passed.
svn:r2956
|
|
|
|
| |
svn:r2955
|
|
|
|
| |
svn:r2951
|