[or-cvs] r11236: It works better if we don't print a 404 header after our bod (tor/trunk/src/or)

weasel at seul.org weasel at seul.org
Mon Aug 20 22:40:09 UTC 2007


Author: weasel
Date: 2007-08-20 18:40:09 -0400 (Mon, 20 Aug 2007)
New Revision: 11236

Modified:
   tor/trunk/src/or/directory.c
Log:
It works better if we don't print a 404 header after our body

Modified: tor/trunk/src/or/directory.c
===================================================================
--- tor/trunk/src/or/directory.c	2007-08-20 22:31:39 UTC (rev 11235)
+++ tor/trunk/src/or/directory.c	2007-08-20 22:40:09 UTC (rev 11236)
@@ -2233,6 +2233,7 @@
     write_http_response_header(conn, len, 0, 0);
     connection_write_to_buf(result, len, TO_CONN(conn));
     tor_free(result);
+    goto done;
   }
 #endif
 



More information about the tor-commits mailing list