Skip to content
Snippets Groups Projects
Commit 3af59dca authored by Robert Ransom's avatar Robert Ransom
Browse files

Log the source of a rejected POSTed v3 vote

Related to ticket 2683.
parent b97d9abd
No related branches found
No related tags found
No related merge requests found
o Minor features
- Log the source of a rejected POSTed v3 networkstatus vote.
......@@ -3259,6 +3259,8 @@ directory_handle_command_post(dir_connection_t *conn, const char *headers,
write_http_status_line(conn, status, "Vote stored");
} else {
tor_assert(msg);
log_warn(LD_DIRSERV, "Rejected vote from %s (\"%s\").",
conn->_base.address, msg);
write_http_status_line(conn, status, msg);
}
goto done;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment