]> git.ipfire.org Git - thirdparty/tor.git/commit
Control: add HS_DESC_CONTENT event
authorDavid Goulet <dgoulet@ev0ke.net>
Tue, 24 Feb 2015 21:17:14 +0000 (16:17 -0500)
committerDavid Goulet <dgoulet@ev0ke.net>
Tue, 21 Apr 2015 18:15:02 +0000 (14:15 -0400)
commit7db58445fd00d5bbad72fd80497d20b7bc9a0297
tree6cfb5f909e1ece90915ca9f10d3b869b2943df05
parent084be23697e14b9ee26b3ac1eef2448af6368d10
Control: add HS_DESC_CONTENT event

As defined in section 4.1.26 in the control-spec.txt, this new event replies
the content of a successfully fetched HS descriptor. This also adds a unit
test for the controller event.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
src/or/control.c
src/or/control.h
src/or/directory.c
src/test/test_hs.c