summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@0x90.dk>2017-06-27 17:16:44 +0000
committerNick Mathewson <nickm@torproject.org>2017-06-27 18:25:48 -0400
commit0a4af86335f1f72982bbc7e57578f07630986999 (patch)
treef627c2f54d67e3022d6d5866aaca71eabe61a9ba /src/or/main.c
parent07f2940b4519d801eb10b9f5e49790aced1f6322 (diff)
downloadtor-0a4af86335f1f72982bbc7e57578f07630986999.tar.gz
tor-0a4af86335f1f72982bbc7e57578f07630986999.zip
Return "304 not modified" if a client already have the most recent consensus.
This makes our directory code check if a client is trying to fetch a document that matches a digest from our latest consensus document. See: https://bugs.torproject.org/22702
Diffstat (limited to 'src/or/main.c')
0 files changed, 0 insertions, 0 deletions