tor/src/feature/dircache
David Goulet 3867ca4925 dir: Return 503 code when rejecting single hop request
Single hop rejection (POST and GET) for HS v3 descriptor now return a 503 code
which is more accurate code from dir-spec.txt and from other rejection case in
the code.

For instance if you are not a relay and you get a POST request, a 503 code is
sent back with a rejection message.

Part of #31958

Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-24 11:25:05 -04:00
..
cached_dir_st.h Run "make autostyle." 2019-06-05 09:33:35 -04:00
conscache.c Re-run "make autostyle" with improved annotate_ifdef_directives 2019-09-30 08:57:37 -04:00
conscache.h Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
consdiffmgr.c Run "make autostyle." 2019-06-05 09:33:35 -04:00
consdiffmgr.h Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
dircache.c dir: Return 503 code when rejecting single hop request 2019-10-24 11:25:05 -04:00
dircache.h Run "make autostyle." 2019-06-05 09:33:35 -04:00
dirserv.c Use compress_dir_buf_add() function in a few places 2019-02-09 16:46:31 +02:00
dirserv.h Bump copyright date to 2019 2019-01-16 12:33:22 -05:00