summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-09-08 06:52:33 +0000
committerNick Mathewson <nickm@torproject.org>2004-09-08 06:52:33 +0000
commitc66e4c48704b8be1425c2b6253542beed49ce0eb (patch)
treebab663d3eaff8366181c3dc75ba6a17ec5cfaca1 /src/or/or.h
parentb6798866d058cd7ce69fc3c7944aff85a1693170 (diff)
downloadtor-c66e4c48704b8be1425c2b6253542beed49ce0eb.tar.gz
tor-c66e4c48704b8be1425c2b6253542beed49ce0eb.zip
Flush more changes from sandbox
- make clients cache directories and use them to seed their router lists at startup. This means clients have a datadir again. - Introduce a global_write_bucket. We need to respond better to exhausting it. - Remove the last vestiges of LinkPadding and TrafficShaping. - Configuration infrastructure support for warning on obsolete options. - Refactor directory header parsing to use smartlist_split_string. - Respond to content-encoding headers by trying to uncompress as appropriate. - Reply with a deflated directory when a client asks for "dir.z". (We could use allow-encodings instead, but allow-encodings isn't specified in HTTP 1.0.) svn:r2335
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index ab5ed36bb0..c04403aac9 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -867,8 +867,6 @@ typedef struct {
int AuthoritativeDir; /**< Boolean: is this an authoritative directory? */
int ClientOnly; /**< Boolean: should we never evolve into a server role? */
int MaxConn; /**< Maximum number of simultaneous connections. */
- int TrafficShaping; /**< Unused. */
- int LinkPadding; /**< Unused. */
int IgnoreVersion; /**< If true, run no matter what versions of Tor the
* directory recommends. */
int RunAsDaemon; /**< If true, run in the background. (Unix only) */
@@ -1392,6 +1390,7 @@ int is_legal_nickname_or_hexdigest(const char *s);
/********************************* routerlist.c ***************************/
+int router_reload_router_list(void);
routerinfo_t *router_pick_directory_server(int requireauth, int requireothers);
int all_directory_servers_down(void);
struct smartlist_t;