mirror repository of the tor core protocol in case of issues
Go to file
Nick Mathewson 424ca963ad Make circuit_resume_edge_reading_helper treat streams more fairly.
Previously[*], the function would start with the first stream on the
circuit, and let it package as many cells as it wanted before
proceeding to the next stream in turn.  If a circuit had many live
streams that all wanted to package data, the oldest would get
preference, and the newest would get ignored.

Now, we figure out how many cells we're willing to send per stream,
and try to allocate them fairly.

Roger diagnosed this in the comments for bug 1298.

[*] This bug has existed since before the first-ever public release
    of Tor.  It was added by r152 of Tor on 26 Jan 2003, which was
    the first commit to implement streams (then called "topics").

    This is not the oldest bug to be fixed in 0.2.2.x: that honor
    goes to the windowing bug in r54, which got fixed in e50b7768 by
    Roger with diagnosis by Karsten.  This is, however, the most
    long-lived bug to be fixed in 0.2.2.x: the r54 bug was fixed
    2580 days after it was introduced, whereas I am writing this
    commit message 2787 days after r152.
2010-09-13 18:59:50 -04:00
changes Make circuit_resume_edge_reading_helper treat streams more fairly. 2010-09-13 18:59:50 -04:00
contrib Bump version to 0.2.2.15-alpha-dev 2010-08-19 16:24:31 -04:00
doc Initial oprofile instructions based on original by weasel. 2010-09-12 19:37:04 -04:00
src Make circuit_resume_edge_reading_helper treat streams more fairly. 2010-09-13 18:59:50 -04:00
Win32Build r8906@Kushana: nickm | 2006-09-21 21:23:22 -0400 2006-09-22 01:23:28 +00:00
.gitignore add .exe files to gitignore 2010-02-25 17:02:02 -05:00
acinclude.m4 Merge commit 'origin/maint-0.2.1' 2010-01-24 15:03:45 -05:00
autogen.sh r14641@catbus: nickm | 2007-08-17 17:53:14 -0400 2007-08-17 21:55:24 +00:00
ChangeLog merge changes files for upcoming release 2010-09-13 05:51:49 -04:00
configure.in Merge remote branch 'origin/maint-0.2.1' 2010-08-26 14:32:22 -04:00
Doxyfile.in Remove all svn metadata minus what I missed. 2009-05-05 17:05:46 +02:00
INSTALL we changed autogen.sh's behavior, so update the INSTALL file 2008-01-23 19:08:53 +00:00
LICENSE move to maxmind geoip db 2010-05-06 07:15:22 -04:00
Makefile.am Simplify expression to list files for check-spaces 2010-07-27 10:00:46 +02:00
README we have two faqs for now 2010-02-22 00:41:48 -05:00
ReleaseNotes release notes entry for 0.2.1.26 2010-05-05 03:19:41 -04:00
tor.spec.in Updated spec file to remove AUTHORS and add myself as maintainer 2010-02-22 20:00:53 -08: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

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

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

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

Making applications work with Tor:
        https://wiki.torproject.org/noreply/TheOnionRouter/TorifyHOWTO

Frequently Asked Questions:
        https://www.torproject.org/faq.html
        https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ