case DIR_PURPOSE_UPLOAD_DIR:
return "server descriptor upload";
case DIR_PURPOSE_UPLOAD_VOTE:
- return "server vote upload";
+ return "consensus vote upload";
case DIR_PURPOSE_UPLOAD_SIGNATURES:
return "consensus signature upload";
case DIR_PURPOSE_FETCH_SERVERDESC:
"directory server at %s; will retry",
connection_describe_peer(TO_CONN(conn)));
connection_dir_download_routerdesc_failed(conn);
+ } else if (conn->base_.purpose == DIR_PURPOSE_UPLOAD_VOTE ||
+ conn->base_.purpose == DIR_PURPOSE_UPLOAD_SIGNATURES) {
+ log_warn(LD_DIR, "Failed to post %s to %s.",
+ dir_conn_purpose_to_string(conn->base_.purpose),
+ connection_describe_peer(TO_CONN(conn)));
}
}