Loading ChangeLog +2 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,8 @@ Changes in version 0.1.2.7-alpha - 2007-??-?? buckets go absurdly negative. - Detect and reject malformed DNS responses containing circular pointer loops. - Fix a memory leak when sending a 503 response for a networkstatus request. o Minor bugfixes: - When computing clock skew from directory HTTP headers, consider what Loading src/or/directory.c +3 −1 Original line number Diff line number Diff line Loading @@ -1689,9 +1689,11 @@ directory_handle_command_get(dir_connection_t *conn, char *headers, dlen = dirserv_estimate_data_size(dir_fps, 0, deflated); if (global_write_bucket_low(dlen, 2)) { log_info(LD_DIRSERV, "Client asked for server descriptors, but we've been " "Client asked for network status lists, but we've been " "writing too many bytes lately. Sending 503 Dir busy."); write_http_status_line(conn, 503, "Directory busy, try again later"); SMARTLIST_FOREACH(dir_fps, char *, cp, tor_free(cp)); smartlist_free(dir_fps); return 0; } Loading Loading
ChangeLog +2 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,8 @@ Changes in version 0.1.2.7-alpha - 2007-??-?? buckets go absurdly negative. - Detect and reject malformed DNS responses containing circular pointer loops. - Fix a memory leak when sending a 503 response for a networkstatus request. o Minor bugfixes: - When computing clock skew from directory HTTP headers, consider what Loading
src/or/directory.c +3 −1 Original line number Diff line number Diff line Loading @@ -1689,9 +1689,11 @@ directory_handle_command_get(dir_connection_t *conn, char *headers, dlen = dirserv_estimate_data_size(dir_fps, 0, deflated); if (global_write_bucket_low(dlen, 2)) { log_info(LD_DIRSERV, "Client asked for server descriptors, but we've been " "Client asked for network status lists, but we've been " "writing too many bytes lately. Sending 503 Dir busy."); write_http_status_line(conn, 503, "Directory busy, try again later"); SMARTLIST_FOREACH(dir_fps, char *, cp, tor_free(cp)); smartlist_free(dir_fps); return 0; } Loading