diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-04-30 19:48:33 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-04-30 19:48:33 +0000 |
commit | ae40e7f6339208530ddbbc2fe6690faceb02a1ee (patch) | |
tree | 1d89e068b10757f483bb1cadf0b83ee2c4f2bbb6 /src/or/directory.c | |
parent | b27b09ae1e3909f411ebecd62b0b5514d4ee31c4 (diff) | |
download | tor-ae40e7f6339208530ddbbc2fe6690faceb02a1ee.tar.gz tor-ae40e7f6339208530ddbbc2fe6690faceb02a1ee.zip |
r12585@catbus: nickm | 2007-04-30 14:38:37 -0400
(Needs review.) Allow directory authorities to accept multiple router descriptors and extra info documents in a single POST. This will make implementing the client side of proposal 104 a lot simpler.
svn:r10069
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 2bc6578eb1..796c0f0a01 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1875,7 +1875,7 @@ directory_handle_command_post(dir_connection_t *conn, const char *headers, if (!strcmp(url,"/tor/")) { /* server descriptor post */ const char *msg; - int r = dirserv_add_descriptor(body, &msg); + int r = dirserv_add_multiple_descriptors(body, &msg); tor_assert(msg); if (r > 0) dirserv_get_directory(); /* rebuild and write to disk */ |