summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-08-03Merge branch 'maint-0.3.1'Nick Mathewson
2017-08-03Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-08-03Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-08-03Merge branch 'maint-0.2.8' into maint-0.2.9Nick Mathewson
2017-08-03Merge branch 'maint-0.2.5' into maint-0.2.8Nick Mathewson
2017-08-03Update geoip and geoip6 to the August 3 2017 database.Karsten Loesing
2017-08-02Merge branch 'maint-0.3.1'Nick Mathewson
2017-08-02Merge branch 'bug23071_031' into maint-0.3.1Nick Mathewson
2017-08-02Make the hs_ntor_ref logic more correct when there is no sha3 moduleNick Mathewson
2017-08-02version bump to 0.3.0.10-devNick Mathewson
2017-08-01Bump to 0.3.0.10Nick Mathewson
2017-08-01bump to 0.3.1.5-alpha-devNick Mathewson
2017-08-01Merge remote-tracking branch 'public/bug19769_19025_029' into maint-0.2.9Nick Mathewson
2017-08-01Merge remote-tracking branch 'public/bug20059_024_v2' into maint-0.2.9Nick Mathewson
2017-08-01Merge remote-tracking branch 'public/bug20270_029' into maint-0.3.0Nick Mathewson
2017-08-01Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-08-01Merge remote-tracking branch 'public/bug22245_024' into maint-0.2.9Nick Mathewson
2017-08-01Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-08-01Merge remote-tracking branch 'public/bug18100_029' into maint-0.2.9Nick Mathewson
2017-08-01Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-08-01Merge branch 'maint-0.3.1'Nick Mathewson
2017-08-01Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-08-01Merge branch 'maint-0.2.7-redux' into maint-0.2.8Nick Mathewson
2017-08-01Merge branch 'maint-0.2.8' into maint-0.2.9Nick Mathewson
2017-08-01Merge branch 'maint-0.2.6' into maint-0.2.7-reduxmaint-0.2.7-reduxNick Mathewson
2017-08-01Merge branch 'maint-0.2.5' into maint-0.2.6maint-0.2.6Nick Mathewson
2017-08-01Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson
2017-07-31Fix the hs_ntor integration tests to work with the pysha3 moduleNick Mathewson
The sha3 module should still work. Fixes bug 23071; bugfix on 0.3.1.1-alpha.
2017-07-31Now that "base -1" is a bug, tell our unit tests to expect bug warningsNick Mathewson
Bugfix on accb734c5fc45481231b837; bug not in any released Tor.
2017-07-31Bump to 0.3.1.5-alphaNick Mathewson
2017-07-28Bug 23055: cast, then multiply when doing u32*u32->u64.Nick Mathewson
No backport, since this bug won't trigger until people make certificates expiring after the Y2106 deadline. CID 1415728
2017-07-28Turn base < 0 into a BUG() in our long-parse functions.Nick Mathewson
2017-07-28Add an assertion to try to please coverity.Nick Mathewson
Coverity, for some reason, thought that weight_scale might be 0, leading to a divide-by-zero error.
2017-07-28Coverity deadcode shenanigans on BUG() macro.Nick Mathewson
We don't actually want Coverity to complain when a BUG() check can never fail, since such checks can prevent us from introducing bugs later on. Closes ticket 23054. Closes CID 1415720, 1415724.
2017-07-28Merge branch 'maint-0.3.1'Nick Mathewson
2017-07-28Fix an unreachable memory leak in the unit testsNick Mathewson
This is CID 1415726.
2017-07-28Merge branch 'maint-0.3.1'Nick Mathewson
2017-07-28Merge branch 'bug23053_029' into maint-0.3.1Nick Mathewson
2017-07-28Fix a small memory leak when parsing unix: ports twiceNick Mathewson
Fixes bug 23053; CID 1415725.
2017-07-27Merge branch 'maint-0.3.1'Nick Mathewson
2017-07-27Try to work around a compile warning in workqueue.cNick Mathewson
2017-07-27Merge branch 'maint-0.3.1'Nick Mathewson
2017-07-27Merge branch 'multi-priority_squashed' into maint-0.3.1Nick Mathewson
2017-07-27Fix the cpuworker.c documentation to mention all the kinds of workNick Mathewson
2017-07-27Note that threadpool_queue_work...() can't actually return NULLNick Mathewson
2017-07-27Always start with one additional worker threadNick Mathewson
Now that half the threads are permissive and half are strict, we need to make sure we have at least two threads, so that we'll have at least one of each kind.
2017-07-27Queue consensus diffs at LOW priority.Nick Mathewson
Fixes bug 22883.
2017-07-27Fix a pair of stale comments in workqueue.cNick Mathewson
These comments said that each thread had a separate queue, but we haven't been using that design for some while.
2017-07-27Make the chance for priority inversion thread-specificNick Mathewson
Instead of choosing a lower-priority job with a 1/37 chance, have the chance be 1/37 for half the threads, and 1/2147483647 for the other half. This way if there are very slow jobs of low priority, they shouldn't be able to grab all the threads when there is better work to do.
2017-07-27Add support for multi-priority workqueuesNick Mathewson
Each piece of queued work now has an associated priority value; each priority goes on a separate queue. With probability (N-1)/N, the workers will take work from the highest priority nonempty queue. Otherwise, they'll look for work in a queue of lower priority. This behavior is meant to prevent starvation for lower-priority tasks.