Nick Mathewson
|
df9c8feac7
Commit fixes for several pending tor core tasks: document all DOCDOCed functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value.
|
19 years ago |
Nick Mathewson
|
70c3580f81
Patch to localtime/gmtime handling: use the _r variants where available. Use mutexes to fake _r where necessary. Make mutexes no-ops where no threading is enabled.
|
20 years ago |
Roger Dingledine
|
1f3e77bf92
make the initial temp log only notice-err, not info-err
|
20 years ago |
Roger Dingledine
|
c3189c2573
fix an assert on startup when the disk is full and you're logging to a file
|
20 years ago |
Nick Mathewson
|
a3477223de
clarify why strlcpy is safe in truncated log messages
|
20 years ago |
Nick Mathewson
|
7fbd297532
Suggestion from weasel: Make tor --version --version dump the cvs Id of every file.
|
20 years ago |
Nick Mathewson
|
b6b07d1d98
Remove needless -2 in log code. This was not an underflow risk, sinze we only call format_msg from one place, where buf_len==10024
|
20 years ago |
Roger Dingledine
|
671a2de762
clean up the previous underflow check, and also point out
|
20 years ago |
Roger Dingledine
|
185f047450
prevent integer underflow
|
20 years ago |
Roger Dingledine
|
22727b4edc
wrong is ok, and right is fine, but in between is apparently
|
20 years ago |
Nick Mathewson
|
6f5dbefa7e
Normalize space: add one between every control keyword and control clause.
|
20 years ago |
Roger Dingledine
|
7c9a707900
remove emacs droppings, since nick says he doesn't need them anymore
|
20 years ago |
Peter Palfrader
|
f2a96ce1fe
Flush the logfd after we print "Tor opening log file", so we don't see those messages days later
|
20 years ago |
Roger Dingledine
|
d4ac7300d6
and a comment so i don't try to 'fix' it again later
|
20 years ago |
Roger Dingledine
|
246b14d8e9
yes, in fact, i broke it. putting back.
|
20 years ago |
Roger Dingledine
|
dd19cf6ba3
kill -USR2 now moves all logs to loglevel debug
|
20 years ago |
Roger Dingledine
|
a30a5bce0f
simplify close_temp_logs()
|
20 years ago |
Roger Dingledine
|
a8840db4ac
remove another possible sigpipe cause
|
20 years ago |
Nick Mathewson
|
6143c515cd
Make log_fn not fail so miserably on VC6
|
20 years ago |
Nick Mathewson
|
5b668d8557
ugly macros to make log_fn play nice on non-GCC compilers.
|
20 years ago |
Nick Mathewson
|
783bbcf471
Fix "implicit declaration of ftello" warning: add AC_FUNC_FSEEKO in configure.in and always include orconfig.h before anything else
|
20 years ago |
Roger Dingledine
|
14c7ad409f
remove redundant stdio.h
|
20 years ago |
Roger Dingledine
|
bd4d99b3fe
clean up the ftello call a little bit.
|
20 years ago |
Nick Mathewson
|
5d92fbe30e
Use autoconf to enable largefile support where necessary. Use ftello where available, since ftell can fail at 2GB.
|
20 years ago |
Nick Mathewson
|
5a5be93f80
Normalize whitespace; add a "tell me about all the unnormalized whitespace" target; fix a braino in dirserv.c
|
20 years ago |
Roger Dingledine
|
8c7b2ff7ed
various fixes
|
20 years ago |
Nick Mathewson
|
2e8353e2f4
Use new log format; convert old format to new format.
|
20 years ago |
Nick Mathewson
|
70f7e32ec6
fix typos
|
20 years ago |
Nick Mathewson
|
11979dc1f5
Add a callback log handler type
|
20 years ago |
Nick Mathewson
|
2fbf31533b
Tricksy compiler warnings! We hates them, hates them forever, my precious!
|
20 years ago |