summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-06Add unit test for #13290Sebastian Hahn
2015-02-06Fix scheduler compilation on targets where char is unsigned.Yawning Angel
Per discussion with nickm, the `dir` argument should be a int rather than a signed char. Fixes bug #14764.
2015-02-05changes file for 13796Nick Mathewson
2015-02-05Merge remote-tracking branch 'public/bug13796'Nick Mathewson
2015-02-05Run the format_changelog script for initial cleanupNick Mathewson
2015-02-05Start working on an 0.2.3 changelogNick Mathewson
This is just sorting the entries and lightly editing a couple of problems I found.
2015-02-05Fix a work-counting bug introduced by the workqueue mergeNick Mathewson
David Goulet finds that when he runs a busy relay for a while with the latest version of the git code, the number of onionskins handled slowly dwindles to zero, with total_pending_tasks wedged at its maximum value. I conjecture this is because the total_pending_tasks variable isn't decremented when we successfully cancel a job. Fixed that. Fixes bug 14741; bugfix not on any released version of tor.
2015-02-05use ARRAY_LENGTH macro in domain_to_stringNick Mathewson
2015-02-05Merge remote-tracking branch 'yawning/bug14740'Nick Mathewson
2015-02-05Add a string representation for LD_SCHED, and a extra sanity check.Yawning Angel
This both fixes the problem, and ensures that forgetting to update domain_list in the future will trigger the bug codepath instead of a NULL pointer deref.
2015-02-05improve changes files moreNick Mathewson
2015-02-0514554 doesn't need a changes file: the bug wasn't in a releaseNick Mathewson
2015-02-04Use getsockname, not getsockopt, on TPROXY socketsNick Mathewson
2015-02-03fix a unit tests memory leak (my fault)Nick Mathewson
2015-02-03Work around test_status.c weirdnessNick Mathewson
Ordinarily, get_options() can never return NULL, but with test_status.c mocking, it can. So test for that case. The best fix here would be to pass the options value to a bridge_server_mode() function.
2015-02-03Merge branch 'bug6852'Nick Mathewson
Conflicts: src/or/status.c
2015-02-03Choose a more deliberate cutoff for clients in heartbeatNick Mathewson
2015-02-02Merge remote-tracking branch 'public/bug9635_warnings_025'Nick Mathewson
Conflicts: src/test/test.c
2015-02-02tweak based on comments from dgouletNick Mathewson
2015-02-02Merge branch 'feature13865_test'Nick Mathewson
2015-02-02Test for 13865.rl1987
2015-02-02Add more parenthesis to the definition of ARRAY_LENGTHNick Mathewson
2015-02-02Fix an unused-variable warning.Nick Mathewson
2015-02-02Merge branch 'feature13864_squashed'Nick Mathewson
2015-02-02Updating manpage for 13865.rl1987
2015-02-02Changes file for 13865.rl1987
2015-02-02Allow reading torrc from stdin.rl1987
2015-02-02Merge remote-tracking branch 'public/bug13319'Nick Mathewson
2015-02-02Merge remote-tracking branch 'sysrqb/bug14216_bad_since'Nick Mathewson
2015-02-02Merge remote-tracking branch 'dgoulet/bug14202_026_v1'Nick Mathewson
2015-02-02Merge remote-tracking branch 'public/14188_part1'Nick Mathewson
2015-02-01Updating OpenBSD section of doc/TUNING.rl1987
2015-01-31Only retry connecting to configured bridgesMatthew Finkel
After connectivity problems, only try connecting to bridges which are currently configured; don't mark bridges which we previously used but are no longer configured. Fixes 14216. Reported by and fix provided by arma.
2015-01-30Merge remote-tracking branch 'dgoulet/bug14554_026_v1'Nick Mathewson
2015-01-30Fix: check r < 0 before checking errnoDavid Goulet
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2015-01-30Fix possible infinite loop on pipe/sock_drain()David Goulet
If the returned value of read/recv is 0 (meaning EOF), we'll end up in an infinite loop (active wait) until something is written on the pipe which is not really what we want here especially because those functions are called from the main thread. Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2015-01-30Fix some unused-argument warningsNick Mathewson
2015-01-30Fix an uninitialized-variable warning.Nick Mathewson
2015-01-30Fix: test -ENOENT after config_parse_unix_port()David Goulet
Check for -ENOENT instead of ENOENT after the HS port is parsed. Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2015-01-30Merge remote-tracking branch 'public/prop227_v2'Nick Mathewson
Conflicts: src/test/test_dir.c
2015-01-30Correctly handle OutboundBindAddress again.Nick Mathewson
ca5ba2956bcd4b5ee1e526ccf5914f52fe6e6d51 broke this; bug not in any released Tor. Also fix a typo. Fixes 14541 and 14527. Reported by qbi.
2015-01-29Merge branch 'bug14451_026_v1'Nick Mathewson
2015-01-29changes file for 14451Nick Mathewson
2015-01-29Use HT_BUCKET_NUM_ in more placesNick Mathewson
(patch from sysrqb)
2015-01-29Merge remote-tracking branch 'public/ticket11737'Nick Mathewson
2015-01-29Document unix: addressesNick Mathewson
2015-01-29Restrict unix: addresses to control and socks for nowNick Mathewson
2015-01-29Remove SocksSocket; it's now spelled differently thanks to 14451Nick Mathewson
Also, revise bug12585 changes file to mention new syntax
2015-01-29When there are no package lines, make consensus/packages say "".Nick Mathewson
Also, give a better error message when there is no consensus.
2015-01-29Correctly reject packages lines with empty entriesNick Mathewson