diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-10-19 03:06:15 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-10-19 03:06:15 -0400 |
commit | 0dac0d8ad68f17fa1803ebd82e402e5181e0532a (patch) | |
tree | 7eba47da137b28e8682b7441547843359fa5aaa3 /src/or/directory.c | |
parent | 9f1b1ef4fbc67b2d3f6e2f9b2dd4d8cd44dc49b7 (diff) | |
parent | b6931b010512d3d8cbda24c87a8cf379305e1457 (diff) | |
download | tor-0dac0d8ad68f17fa1803ebd82e402e5181e0532a.tar.gz tor-0dac0d8ad68f17fa1803ebd82e402e5181e0532a.zip |
Merge remote-tracking branch 'origin/maint-0.2.3'
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 2f70d1100d..26f9acc0e2 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -3168,6 +3168,7 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers, } if (options->HidServDirectoryV2 && + connection_dir_is_encrypted(conn) && !strcmpstart(url,"/tor/rendezvous2/")) { /* Handle v2 rendezvous descriptor fetch request. */ const char *descp; @@ -3354,6 +3355,7 @@ directory_handle_command_post(dir_connection_t *conn, const char *headers, /* Handle v2 rendezvous service publish request. */ if (options->HidServDirectoryV2 && + connection_dir_is_encrypted(conn) && !strcmpstart(url,"/tor/rendezvous2/publish")) { switch (rend_cache_store_v2_desc_as_dir(body)) { case -2: |