aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-11-15 14:25:25 -0500
committerNick Mathewson <nickm@torproject.org>2017-11-15 14:25:25 -0500
commitceeacc734da441051e8c3cfbab420b7083af89b7 (patch)
tree744a2990cb7a3e7fed56f2860e27c64acc063208
parentbf8a7201cea0dcd4da91cd67015bbdabc38c395a (diff)
parentae8683621add4b7fe68ba82f76b231ef8551477f (diff)
downloadtor-ceeacc734da441051e8c3cfbab420b7083af89b7.tar.gz
tor-ceeacc734da441051e8c3cfbab420b7083af89b7.zip
Merge branch 'maint-0.3.2'
-rw-r--r--changes/bug236624
-rw-r--r--src/or/directory.c9
2 files changed, 9 insertions, 4 deletions
diff --git a/changes/bug23662 b/changes/bug23662
new file mode 100644
index 0000000000..1000bde3d6
--- /dev/null
+++ b/changes/bug23662
@@ -0,0 +1,4 @@
+ o Minor bugfixes (onion services):
+ - Silence a warning about failed v3 onion descriptor uploads since it can
+ happen naturally under certain edge-cases. Fixes part of bug 23662;
+ bugfix on 0.3.2.1-alpha.
diff --git a/src/or/directory.c b/src/or/directory.c
index e7a5da8139..6dd40639b6 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -3337,10 +3337,11 @@ handle_response_upload_hsdesc(dir_connection_t *conn,
/* XXX: Trigger control event. */
break;
case 400:
- log_warn(LD_REND, "Uploading hidden service descriptor: http "
- "status 400 (%s) response from dirserver "
- "'%s:%d'. Malformed hidden service descriptor?",
- escaped(reason), conn->base_.address, conn->base_.port);
+ log_fn(LOG_PROTOCOL_WARN, LD_REND,
+ "Uploading hidden service descriptor: http "
+ "status 400 (%s) response from dirserver "
+ "'%s:%d'. Malformed hidden service descriptor?",
+ escaped(reason), conn->base_.address, conn->base_.port);
/* XXX: Trigger control event. */
break;
default: