Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-30 | Merge remote-tracking branch 'public/prop227_v2' | Nick Mathewson | |
Conflicts: src/test/test_dir.c | |||
2015-01-28 | Bug #8405: Report SOCKS username/password in CIRC status events | Arthur Edelstein | |
Introduces two new circuit status name-value parameters: SOCKS_USERNAME and SOCKS_PASSWORD. Values are enclosing in quotes and unusual characters are escaped. Example: 650 CIRC 5 EXTENDED [...] SOCKS_USERNAME="my_username" SOCKS_PASSWORD="my_password" | |||
2015-01-23 | Merge branch 'if_addr_refactoring_squashed' | Nick Mathewson | |
Conflicts: src/test/include.am src/test/test.c | |||
2015-01-23 | Refactor code that looks up addresses from interfaces | rl1987 | |
Now the code has separate implementation and examination functions, uses smartlists sanely, and has relatively decent test coverage. | |||
2015-01-22 | fix some warnings in compat_threads.c | Nick Mathewson | |
2015-01-22 | Move a redundant _GNU_SOURCE to where it is not redundant | Nick Mathewson | |
2015-01-21 | use the correct free fn. spotted by dgoulet | Nick Mathewson | |
2015-01-21 | Merge branch 'better_workqueue_v3_squashed' | Nick Mathewson | |
2015-01-21 | Support monotonic time for pthread_cond_timedwait | David Goulet | |
This is to avoid that the pthread_cond_timedwait() is not affected by time adjustment which could make the waiting period very long or very short which is not what we want in any cases. Signed-off-by: David Goulet <dgoulet@ev0ke.net> | |||
2015-01-21 | Fix up some workqueue/threading issues spotted by dgoulet. | Nick Mathewson | |
2015-01-21 | handle EINTR in compat_*threads.c | Nick Mathewson | |
2015-01-15 | Update workqueue implementation to use a single queue for the work | Nick Mathewson | |
Previously I used one queue per worker; now I use one queue for everyone. The "broadcast" code is gone, replaced with an idempotent 'update' operation. | |||
2015-01-15 | Restrict sample values of the Laplace distribution to int64_t. | George Kadianakis | |
This helps avoid undefined behavior from casting big double values to int64_t. Fixes #14090. | |||
2015-01-14 | Incorporate some comments based on notes from dgoulet | Nick Mathewson | |
2015-01-14 | Refactor cpuworker to use workqueue/threadpool code. | Nick Mathewson | |
2015-01-14 | Fix check-spaces | Nick Mathewson | |
2015-01-14 | Test and fix workqueue_entry_cancel(). | Nick Mathewson | |
2015-01-14 | "Recursive" locks, not "reentrant" locks. Duh. | Nick Mathewson | |
2015-01-14 | Use correct (absolute) time for pthread_cond_timedwait | Nick Mathewson | |
2015-01-14 | Fix windows compilation of condition code | Nick Mathewson | |
2015-01-14 | Fix linux compilation (pipe2 needs _GNU_SOURCE) | Nick Mathewson | |
2015-01-14 | Test a little more of compat_threads.c | Nick Mathewson | |
2015-01-14 | Rename mutex_for_cond -> mutex_nonreentrant | Nick Mathewson | |
We'll want to use these for other stuff too. | |||
2015-01-14 | Documentation for new workqueue and condition and locking stuff | Nick Mathewson | |
2015-01-14 | Add a way to tell all threads to do something. | Nick Mathewson | |
2015-01-14 | Isolate the "socketpair or a pipe" logic for alerting main thread | Nick Mathewson | |
This way we can use the linux eventfd extension where available. Using EVFILT_USER on the BSDs will be a teeny bit trickier, and will require libevent hacking. | |||
2015-01-14 | Make pending work cancellable. | Nick Mathewson | |
2015-01-14 | Initial workqueue implemention, with a simple test. | Nick Mathewson | |
It seems to be working, but more tuning is needed. | |||
2015-01-14 | Specialize handling for mutexes allocated for condition variables | Nick Mathewson | |
(These must not be reentrant mutexes with pthreads.) | |||
2015-01-14 | Add tor_cond_init/uninit | Nick Mathewson | |
2015-01-14 | Add a timeout to tor_cond_wait; add tor_cond impl from libevent | Nick Mathewson | |
The windows code may need some tweaks for it to compile; I've not tested it yet. | |||
2015-01-14 | Split threading-related code out of compat.c | Nick Mathewson | |
Also, re-enable the #if'd out condition-variable code. Work queues are going to make us hack on all of this stuff a bit more closely, so it might not be a terrible idea to make it easier to hack. | |||
2015-01-13 | Merge remote-tracking branch 'andrea/ticket12585_v3' | Nick Mathewson | |
2015-01-12 | Merge remote-tracking branch 'teor/bug13111-empty-key-files-fn-empty' | Nick Mathewson | |
2015-01-12 | src/common/compat_libevent.h: include testsupport.h | Anthony G. Basile | |
When tor is configured with --enable-bufferevents, the build fails because compat_libevent.h makes use of the macro MOCK_DECL() which is defined in testsupport.h, but not included. We add the include. | |||
2015-01-10 | Fix tortls.c build with GCC<4.6 | Nick Mathewson | |
apparantly, "pragma GCC diagnostic push/pop" don't exist with older versions. Fixes bug in 740e592790f570c446cbb5e6d4a77f842f75; bug not in any released Tor. | |||
2015-01-10 | Ignore warning for redundant decl in openssl/srtp.h | Nick Mathewson | |
2015-01-10 | Merge remote-tracking branch 'teor/fix-typos' | Nick Mathewson | |
2015-01-10 | More documentation for proposal 227 work | Nick Mathewson | |
2015-01-10 | Implement proposal 227-vote-on-package-fingerprints.txt | Nick Mathewson | |
This implementation includes tests and a little documentation. | |||
2015-01-10 | Merge branch 'master' of https://git.torproject.org/tor into ↵ | teor | |
bug13111-empty-key-files-fn-empty Conflicts: src/or/connection_edge.c Merged in favour of origin. | |||
2015-01-10 | Merge branch 'bug14001-clang-warning' into bug13111-empty-key-files-fn-empty | teor | |
Conflicts: src/or/router.c Choose newer comment. Merge changes to comment and function invocation. | |||
2015-01-10 | Fix a minor misspelling in util.c | teor | |
2015-01-07 | Commit second draft of Jake's SOCKS5-over-AF_UNIX patch. See ticket #12585. | Jacob Appelbaum | |
Signed-off-by: Andrea Shepard <andrea@torproject.org> | |||
2015-01-07 | Merge remote-tracking branch 'public/bug12985_025' | Nick Mathewson | |
2015-01-07 | Merge branch 'bug9286_v3_squashed' | Nick Mathewson | |
2015-01-07 | Stop accepting milliseconds in various directory contexts | Nick Mathewson | |
Have clients and authorities both have new behavior, since the fix for bug 11243 has gone in. But make clients still accept accept old bogus HSDir descriptors, to avoid fingerprinting trickery. Fixes bug 9286. | |||
2015-01-06 | Merge remote-tracking branch 'public/feature11791' | Nick Mathewson | |
2015-01-02 | Bump copyright dates to 2015, in case someday this matters. | Nick Mathewson | |
2014-12-30 | Fix a memory leak in tor-resolve | Nick Mathewson | |
Resolves bug 14050 |