Andrew Lewman
|
563be121c2
Add missing return so this builds on mingw.
|
18 éve |
Nick Mathewson
|
f07f7a7a12
r8923@totoro: nickm | 2006-10-07 11:44:33 -0400
|
18 éve |
Roger Dingledine
|
f2bd0e2f16
more minor cleanups
|
18 éve |
Nick Mathewson
|
4c56ac93ca
r8851@totoro: nickm | 2006-10-02 18:13:27 -0400
|
18 éve |
Nick Mathewson
|
bff83b666c
r8846@totoro: nickm | 2006-10-02 16:59:57 -0400
|
18 éve |
Nick Mathewson
|
d75edc35cc
r8845@totoro: nickm | 2006-10-02 16:34:58 -0400
|
18 éve |
Nick Mathewson
|
7d366f61cb
r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400
|
18 éve |
Nick Mathewson
|
8308a37908
r9023@Kushana: nickm | 2006-09-29 17:27:24 -0400
|
18 éve |
Nick Mathewson
|
87648bdcf8
r9008@Kushana: nickm | 2006-09-29 13:50:10 -0400
|
18 éve |
Nick Mathewson
|
d3a06684bc
r8974@Kushana: nickm | 2006-09-28 17:05:59 -0400
|
18 éve |
Nick Mathewson
|
7c21dabef1
r8878@Kushana: nickm | 2006-09-21 17:15:47 -0400
|
18 éve |
Nick Mathewson
|
b2cc52fa02
Speed up eat_whitespace by a lot.
|
18 éve |
Nick Mathewson
|
6b716fdfb9
NEEDS REVIEW. Act on previous comment, and handle named servers differently: now, we allow multiple servers with the same name in the routerlist even if that name is reserved, but we check whether names are reserved when we try to look up routers by nickname. This is a minor security fix. This makes router_add_to_routerlist O(1). This is a backport candidate.
|
18 éve |
Nick Mathewson
|
2d4950c837
Malloc and friends are critical-path: Thus, add an it-wont-happen branch prediction for NULL returns, and skip the malloc(0) check on platforms where malloc(0) returns a pointer.
|
18 éve |
Nick Mathewson
|
7b0ec744bc
Switch routerlist.c to using memcmp on digests rather than crypto_pk_cmp_keys(); speed up find_whitespace a lot (8x for me) by using a switch statement. This should speed parsing a lot of routers at once by a lot.
|
18 éve |
Nick Mathewson
|
93beeac01d
Merge in some bsockets calls, all wrapped inside #if defined(USE_BSOCKETS)
|
18 éve |
Roger Dingledine
|
9af3175687
parameterize the loudness of get_interface_address()
|
18 éve |
Roger Dingledine
|
5f6351ceb3
fix typo, add log message
|
18 éve |
Nick Mathewson
|
f170e5798f
r8692@Kushana: nickm | 2006-08-31 13:38:07 -0400
|
18 éve |
Nick Mathewson
|
80282d8f55
r6993@Kushana: nickm | 2006-07-31 16:19:21 -0400
|
18 éve |
Nick Mathewson
|
ea0f5ec8ad
r6980@Kushana: nickm | 2006-07-31 13:18:22 -0400
|
18 éve |
Nick Mathewson
|
6d2eb77555
Whitespace fix
|
18 éve |
Nick Mathewson
|
35960e1162
Add a mem_is_zero function (I think we will need this) and a STRUCT_OFFSET macro (we already need this).
|
18 éve |
Roger Dingledine
|
fad85f173a
when an exit node gets a malformed begin cell, don't complain to
|
18 éve |
Nick Mathewson
|
73ada60d64
remove non-germane comment
|
18 éve |
Nick Mathewson
|
af8096815e
Add a memdup function to util
|
18 éve |
Nick Mathewson
|
1f585987c4
Another escape() fix, for picky sprintfs.
|
18 éve |
Nick Mathewson
|
2936da4c28
Override our notion of printability for esc_for_log. 127 and up are never printable. Take that, locales.
|
18 éve |
Nick Mathewson
|
853e2d99b6
Add a new warning to our "warn a lot" list: unused parameters. This means we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.)
|
18 éve |
Roger Dingledine
|
731f4086c0
resolve an unused variable
|
18 éve |