Go to file
Nick Mathewson db86b9194d Break connection_dir_client_reached_eof() into smaller functions
This was a >630-line function, which doesn't make anybody happy.  It
was also mostly composed of a bunch of if-statements that handled
different directory responses differently depending on the original
purpose of the directory connection.  The logical refactoring here
is to move the body of each switch statement into a separate handler
function, and to invoke those functions from a separate switch
statement.

This commit leaves whitespace mostly untouched, for ease of review.
I'll reindent in the next commit.
2017-05-02 13:06:25 -04:00
changes Break connection_dir_client_reached_eof() into smaller functions 2017-05-02 13:06:25 -04:00
contrib Bump master to 0.3.1.0-alpha-dev 2017-02-15 14:36:56 -05:00
doc Bug 22114: Fix wrong values in torrc_format.txt comments 2017-05-01 13:53:07 -04:00
m4 Replace obsolete macros with modern equivalents 2016-12-23 10:34:11 -05:00
scripts Teach cov-exclude to detect runaway LCOV_EXCL_START lines 2017-04-25 10:59:19 -04:00
src Break connection_dir_client_reached_eof() into smaller functions 2017-05-02 13:06:25 -04:00
.gitignore trace: Add a basic event-tracing infrastructure. 2017-04-25 10:37:31 -04:00
acinclude.m4 Run the copyright update script. 2017-03-15 16:13:17 -04:00
autogen.sh Report errors when updating configuration files 2016-12-23 10:35:26 -05:00
ChangeLog forward-port changelog and release notes 2017-04-26 15:39:10 -04:00
configure.ac Fix help message for --enable-lzma 2017-05-01 11:16:25 -04:00
Doxyfile.in doxygen says these options are obsolete 2016-10-24 10:31:05 -04:00
INSTALL
LICENSE Run the copyright update script. 2017-03-15 16:13:17 -04:00
Makefile.am Add --enable-zstd to our configure script. 2017-04-25 08:10:09 -04:00
Makefile.nmake
README Move hacking documentation into a new subdirectory. 2015-10-09 10:40:53 -04:00
ReleaseNotes forward-port changelog and release notes 2017-04-26 15:39:10 -04:00

Tor protects your privacy on the internet by hiding the connection
between your Internet address and the services you use. We believe Tor
is reasonably secure, but please ensure you read the instructions and
configure it properly.

To build Tor from source:
        ./configure && make && make install

To build Tor from a just-cloned git repository:
        sh autogen.sh && ./configure && make && make install

Home page:
        https://www.torproject.org/

Download new versions:
        https://www.torproject.org/download/download.html

Documentation, including links to installation and setup instructions:
        https://www.torproject.org/docs/documentation.html

Making applications work with Tor:
        https://wiki.torproject.org/projects/tor/wiki/doc/TorifyHOWTO

Frequently Asked Questions:
        https://www.torproject.org/docs/faq.html


To get started working on Tor development:
        See the doc/HACKING directory.