diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-06-18 07:55:04 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-06-18 07:55:04 +0000 |
commit | b1a8b7869ac35c44ad87890198946525f04adf03 (patch) | |
tree | 7efefa5ff73f55c71d0f1d3c9b470defb92afd14 /src/or/or.h | |
parent | 1d9923da7c197724d453ff315289c3c70536ee09 (diff) | |
download | tor-b1a8b7869ac35c44ad87890198946525f04adf03.tar tor-b1a8b7869ac35c44ad87890198946525f04adf03.tar.gz |
Oops. conn->requested_resource is client only.
svn:r6642
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 128e4172a..f30115ba3 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -698,6 +698,10 @@ struct connection_t { char *requested_resource; /**< Which 'resource' did we ask the directory * for?*/ /* Used only for server sides of some dir connections. */ + enum { + DIR_REFRESH_NONE=0, DIR_REFRESH_SERVER_BY_DIGEST, DIR_REFRESH_SERVER_BY_FP, + DIR_REFRESH_CACHED_DIR + } dir_refresh_src; smartlist_t *fingerprint_stack; struct cached_dir_t *cached_dir; off_t cached_dir_offset; |