]> git.ipfire.org Git - thirdparty/tor.git/commit
laying the groundwork for dynamic router lists
authorRoger Dingledine <arma@torproject.org>
Tue, 24 Sep 2002 10:43:57 +0000 (10:43 +0000)
committerRoger Dingledine <arma@torproject.org>
Tue, 24 Sep 2002 10:43:57 +0000 (10:43 +0000)
commit253f0f160e1185cbab507920b6391064757be677
tree19ca43835dff932ff14921ac32b78ead6150c253
parentc262b34a3c49b7ab6ae9d826b86c5ad16088cf5f
laying the groundwork for dynamic router lists

revamped the router reading section

reference counting for crypto pk env's (so we can dup them)

we now read and write pem pk keys from string rather than from FILE*,
  in anticipation of fetching directories over a socket
  (so now on startup we slurp in the whole file, then parse it as a string)

fixed a bug in the proxy side, where you could get some circuits
  wedged if they showed up while the connection was being made

svn:r110
12 files changed:
src/common/crypto.c
src/common/crypto.h
src/config/routers.or
src/or/circuit.c
src/or/connection.c
src/or/connection_ap.c
src/or/connection_or.c
src/or/main.c
src/or/onion.c
src/or/or.h
src/or/routers.c
src/orkeygen/orkeygen.c