mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
huge bugfix: we weren't ever writing an http header when sending
out network statuses! so clients were downloading the whole thing, and then discarding them because they're malformed. svn:r6778
This commit is contained in:
parent
a2a89da693
commit
c055a34cdb
@ -1501,6 +1501,9 @@ directory_handle_command_get(connection_t *conn, char *headers,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
// note_request(request_type,dlen);
|
// note_request(request_type,dlen);
|
||||||
|
write_http_response_header(conn, -1,
|
||||||
|
deflated?"application/octet_stream":"text/plain",
|
||||||
|
deflated?"deflate":NULL);
|
||||||
|
|
||||||
conn->fingerprint_stack = dir_fps;
|
conn->fingerprint_stack = dir_fps;
|
||||||
if (! deflated)
|
if (! deflated)
|
||||||
|
Loading…
Reference in New Issue
Block a user