diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-12-20 05:06:02 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-12-20 05:06:02 +0000 |
commit | 6de2b484cf8e236cbf348d6f4c90dc453ae6a4a6 (patch) | |
tree | 4811f26db22bf890cf94cd4d73f10fb6091f130e /src | |
parent | 5c33c0632ef2c2094705024b4068fa3d58cce553 (diff) | |
download | tor-6de2b484cf8e236cbf348d6f4c90dc453ae6a4a6.tar.gz tor-6de2b484cf8e236cbf348d6f4c90dc453ae6a4a6.zip |
r17270@catbus: nickm | 2007-12-20 00:04:21 -0500
When we decide to send a 503 in response to a request for server descriptors, disable spooling so that we do not then send the descriptors anyway. Fixes bug 539.
svn:r12882
Diffstat (limited to 'src')
-rw-r--r-- | src/or/directory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 02c411d499..7d3aebfd03 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2440,6 +2440,7 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers, "Client asked for server descriptors, but we've been " "writing too many bytes lately. Sending 503 Dir busy."); write_http_status_line(conn, 503, "Directory busy, try again later"); + conn->dir_spool_src = DIR_SPOOL_NONE; goto done; } write_http_response_header(conn, -1, deflated, cache_lifetime); |