Explorar el Código

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.


svn:r17723

Roger Dingledine hace 17 años
padre
commit
7262bf5eab
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/or/directory.c

+ 1 - 0
src/or/directory.c

@@ -3094,6 +3094,7 @@ directory_handle_command_post(dir_connection_t *conn, const char *headers,
                conn->_base.address, msg);
       write_http_status_line(conn, 400, msg);
     }
+    goto done;
   }
 
   if (options->HSAuthoritativeDir &&