- Jul 16, 2014
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Currently tor fails to build its test when enabled with bufferevents because an #ifndef USE_BUFFEREVENTS hides bucket_millis_empty() and friends. This is fine if we don't run tests, but if we do, we need these functions in src/or/libtor-testing.a when linking src/test/test. This patch moves the functions outside the #ifndef and exposes them. See downstream bug: https://bugs.gentoo.org/show_bug.cgi?id=510124
-
When building with bufferevents enabled, configure.ac throws an error if "$ac_cv_header_event2_bufferevent_ssl_h" is not set to "yes". However, nowhere was AC_CHECK_HEADERS(event2/bufferevent_ssl.h) done. This commit adds the check.
-
Nick Mathewson authored
-
Nick Mathewson authored
When we run into bug 8387 (if we run into it again), report when we last called circuit_expire_old_circuits_clientside(). This will let us know -- if my fix for 8387 doesn't work -- whether my diagnosis was at least correct. Suggested by Andrea.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
On a non-blocking pipe fgets sets EAGAIN when it encounters partial lines. No error is set on full lines or EOF. EOF is reached when the writing end of the pipe is closed. Partial lines and full lines are both returned by fgets, EOF results in NULL. Mention of this behaviour can be found in #1903 and #2045.
-
- Jul 09, 2014
-
-
Nick Mathewson authored
fixes bug 8387; fix on 0.1.1.11-alpha (code), or on 0.2.4.10-alpha (behavior).
-
Nick Mathewson authored
Fix for 12512.
-
- Jun 24, 2014
-
-
* Trac #11452
-
- Jun 21, 2014
-
-
Roger Dingledine authored
-
- Jun 20, 2014
-
-
Nick Mathewson authored
Long ago we supported systems where there was no support for threads, or where the threading library was broken. We shouldn't have do that any more: on every OS that matters, threads exist, and the OS supports running threads across multiple CPUs. This resolves tickets 9495 and 12439. It's a prerequisite to making our workqueue code work better, since sensible workqueue implementations don't split across multiple processes.
-
Nick Mathewson authored
As far as I know, nobody has used this in ages. It would be a pretty big surprise if it had worked. Closes ticket 11446.
-
Nick Mathewson authored
(Whoops, thought I had committed this before) Improvement to 11683 fix. Based on patch from Karsten.
-
- Jun 19, 2014
-
-
Nick Mathewson authored
-
- Jun 18, 2014
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Jun 16, 2014
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
I don't know whether we missed these or misclassified them when we first made the "DIRECTORY AUTHORITY SERVER OPTIONS" section, but they really belong there.
-
- Jun 14, 2014
-
-
Nick Mathewson authored
The fix for bug 8746 added a hashtable instance that never actually invoked HT_FIND. This caused a warning, since we didn't mark HT_FIND as okay-not-to-use.
-
Nick Mathewson authored
Conflicts: src/common/include.am
-
Nick Mathewson authored
-
Nick Mathewson authored
Instead of having a #if ... for every function, just define TEST_CHILD to the right patch and EOL to the expected line terminator.
-
Nick Mathewson authored
Try killing a running process; try noticing that a process has exited without checking its output; verify that waitpid_cb (when present) is set to NULL when you would expect it to be.
-
Nick Mathewson authored
In the unit tests I want to loop with a delay, but I want less than a 1 second delay. This, sadly, requires compatibility code.
-
Nick Mathewson authored
When we create a process yourself with CreateProcess, we get a handle to the process in the PROCESS_INFO output structure. But instead of using that handle, we were manually looking up a _new_ handle based on the process ID, which is a poor idea, since the process ID might refer to a new process later on, but the handle can't.
-
Nick Mathewson authored
This lets us avoid sending SIGTERM to something that has already died, since we realize it has already died, and is a fix for the unix version of #8746.
-
Nick Mathewson authored
Also, move 'procmon' into libor_event library, since it uses libevent.
-
Nick Mathewson authored
-
Nick Mathewson authored
Check for consistency between the queued destroy cells and the marked circuit IDs. Check for consistency in the count of queued destroy cells in several ways. Check to see whether any of the marked circuit IDs have somehow been marked longer than the channel has existed.
-
- Jun 13, 2014
-
-
Nick Mathewson authored
-