[or-cvs] r17723: {tor} fix a fun bug on r17656 that was making us send HTTP/1.0 404 (tor/trunk/src/or)

arma at seul.org arma at seul.org
Mon Dec 22 06:21:28 UTC 2008


Author: arma
Date: 2008-12-22 01:21:28 -0500 (Mon, 22 Dec 2008)
New Revision: 17723

Modified:
   tor/trunk/src/or/directory.c
Log:
fix a fun bug on r17656 that was making us send HTTP/1.0 404 as
the message body, no matter the message headers, when answering
a descriptor or extrainfo post request.


Modified: tor/trunk/src/or/directory.c
===================================================================
--- tor/trunk/src/or/directory.c	2008-12-22 05:21:49 UTC (rev 17722)
+++ tor/trunk/src/or/directory.c	2008-12-22 06:21:28 UTC (rev 17723)
@@ -3094,6 +3094,7 @@
                conn->_base.address, msg);
       write_http_status_line(conn, 400, msg);
     }
+    goto done;
   }
 
   if (options->HSAuthoritativeDir &&



More information about the tor-commits mailing list