Nick Mathewson
|
6e6d95b3db
Change from inet_ntoa to a threadproof tor_inet_ntoa.
|
20 years ago |
Peter Palfrader
|
ddd724ef94
Add --with-dmalloc configure option
|
20 years ago |
Roger Dingledine
|
cf17d0d29c
move network_init from or/main to common/compat
|
20 years ago |
Nick Mathewson
|
c79c4200f4
Fix a bug in last patch; and keep my name out of the assert() call too.
|
20 years ago |
Nick Mathewson
|
32978afa54
Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's name out
|
20 years ago |
Nick Mathewson
|
ad7db5e43a
Add casei versions of strcmpstart/strcmpend
|
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
|
eccfe23a21
Disallow NDEBUG. It is very stupid.
|
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 |
Nick Mathewson
|
55df2620c6
Add function to format local time in ISO format
|
20 years ago |
Nick Mathewson
|
cd753df7bf
Resolve many XXXs and all DOCDOCs
|
20 years ago |
Nick Mathewson
|
180e0a9326
Make check_private_dir trimodal (check/create/ignore), not bimodal (create/ignore).
|
20 years ago |
Roger Dingledine
|
865f341708
parse_line_from_file is obsolete.
|
20 years ago |
Nick Mathewson
|
38ed0ce5e6
Unify tor_parse_(numeric); make sure MAX_UINT32 and MAX_UINT64 are defined
|
20 years ago |
Nick Mathewson
|
9d604ec615
Add code to read configuration lines from a string as well as a file
|
20 years ago |
Nick Mathewson
|
d5244e3872
Add a write_bytes_to_file so we can have files with NULs in them.
|
20 years ago |
Roger Dingledine
|
e761cc9750
my assert.h takes extra pains to be certain to _re-include_
|
20 years ago |
Nick Mathewson
|
67f14032b1
Handle strlcat/strlcpy correctly on platforms that have them.
|
20 years ago |
Roger Dingledine
|
85c79ffbc7
canonicalize "src" and "dest" arg order in crypto.c (and others)
|
20 years ago |
Nick Mathewson
|
ce79bab7f1
Split util into util (general utilities), container (smartlist and strmap), and compat (cross-platform compatability).
|
20 years ago |
Roger Dingledine
|
4689243242
make sure options.MaxConn can be reached
|
20 years ago |
Nick Mathewson
|
ce5709184b
Pass with -Wstrict-prototypes
|
20 years ago |
Nick Mathewson
|
22dc19b590
snprintf wrapper with consistant (though not C99) overflow behavior
|
20 years ago |
Nick Mathewson
|
5d53828c57
Handle more errnos from accept() without closing the connection. This may fix a bug that could close OR listeners when (a) TCP connections were hung up before accept() could be called, or (b) during FD exhaustion.
|
20 years ago |
Nick Mathewson
|
6899b8001a
Check for low _MSC_VER, not high. On windows, always use winsock.
|
20 years ago |
Roger Dingledine
|
c4c6ee7d61
add winsock if you've got it, regardless of whether you're msv
|
20 years ago |
Nick Mathewson
|
69d7b468b4
Refactor parse-addr-mask-and-port-range into a separate function
|
20 years ago |
Nick Mathewson
|
f619c4603e
Add an autoconf test to make sure that memset(&ptr, 0, sizeof(ptr)) and ptr=NULL are equivalent
|
20 years ago |
Nick Mathewson
|
f359389866
Oops; make sure that break; and continue; work within SMARTLIST_FOREACH
|
20 years ago |