commit 03ae44a9e83b86a64a8e25164241cbaa0164e8cf Author: Nick Mathewson <ni...@torproject.org> Date: Wed May 11 13:39:11 2016 -0400
Fix comment for directory_handle_command_get --- src/or/directory.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/or/directory.c b/src/or/directory.c index 9252511..a3ade8f 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2924,8 +2924,9 @@ static const url_table_ent_t url_table[] = { /** Helper function: called when a dirserver gets a complete HTTP GET * request. Look for a request for a directory or for a rendezvous * service descriptor. On finding one, write a response into - * conn-\>outbuf. If the request is unrecognized, send a 400. - * Always return 0. */ + * conn-\>outbuf. If the request is unrecognized, send a 404. + * Return 0 if we handled this successfully, or -1 if we need to close + * the connection. */ STATIC int directory_handle_command_get(dir_connection_t *conn, const char *headers, const char *req_body, size_t req_body_len) _______________________________________________ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits