Explorar o código

It works better if we don't print a 404 header after our body

svn:r11236
Peter Palfrader %!s(int64=18) %!d(string=hai) anos
pai
achega
c7140372cb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/or/directory.c

+ 1 - 0
src/or/directory.c

@@ -2233,6 +2233,7 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers,
     write_http_response_header(conn, len, 0, 0);
     connection_write_to_buf(result, len, TO_CONN(conn));
     tor_free(result);
+    goto done;
   }
 #endif