Permalink
Commits on Jun 6, 2012
  1. Merge remote-tracking branch 'origin/patches-2.0'

    Nick Mathewson committed Jun 6, 2012
  2. Merge pull request #57 from rosslagerwall/memleak

    Fix a couple of memory leaks (found with Valgrind).
    nmathewson committed Jun 6, 2012
Commits on Jun 4, 2012
  1. Merge pull request #56 from rosslagerwall/fix-comment

    Fix a comment in test-fdleak after 077c7e9.
    nmathewson committed Jun 4, 2012
Commits on Jun 3, 2012
Commits on Jun 1, 2012
  1. Merge remote-tracking branch 'origin/patches-2.0'

    Nick Mathewson committed Jun 1, 2012
  2. Correctly check for arc4random_buf

    Apparently it's necssary to do an explicit comparison with NULL here.
    This also gets rid of a compile warning
    shahn committed Jun 1, 2012
Commits on May 31, 2012
  1. Merge remote-tracking branch 'origin/patches-2.0'

    Conflicts:
    	evutil_rand.c
    
    Had conflicts with _EVENT_ -> EVENT__ change.
    Nick Mathewson committed May 31, 2012
  2. check for arc4random_buf at runtime, on OS X

    (Tweaked by nickm: Fix up the arcr4andom_buf OSX hack so that the
    fallback case isn't compiled into the code when we have
    arc4random_buf() and we are not on OSX.  Also add a comment
    explaining what's up.)
    ghazel committed with Nick Mathewson May 29, 2012
Commits on May 21, 2012
  1. Merge pull request #54 from rosslagerwall/configure-dup

    Remove unnecessary code in configure.in.
    nmathewson committed May 21, 2012
Commits on May 14, 2012
  1. Add caveat to docs about bufferevent_free() with data in outbuf

    Based on libevent-users thread wtih Alexander Klauer
    Nick Mathewson committed May 14, 2012
Commits on May 12, 2012
Commits on May 3, 2012
  1. Merge remote-tracking branch 'origin/patches-2.0'

    Nick Mathewson committed May 3, 2012
  2. Bump version to 2.0.19-stable-dev

    Nick Mathewson committed May 3, 2012
  3. Increment version to 2.0.19-stable

    Nick Mathewson committed May 3, 2012
  4. Merge remote-tracking branch 'github/patches-2.0'

    Conflicts:
    	test/regress.c
    Nick Mathewson committed May 3, 2012
  5. Oops; fix the *right* windows compile issue

    Nick Mathewson committed May 3, 2012
  6. Fix win32 build issues: sleep, pid_t

    Nick Mathewson committed May 3, 2012
Commits on May 2, 2012
  1. Merge remote-tracking branch 'origin/patches-2.0'

    Conflicts:
    	ChangeLog
    	README
    	evdns.c
    	sample/dns-example.c
    Nick Mathewson committed May 2, 2012
  2. Start changelog for 2.0.19-stable

    Nick Mathewson committed May 2, 2012
  3. Fix evdns build with threads disabled

    The last evdns change apparently broke it, by using a "base"
    variable that we were only declaring with threads turned on.
    Nick Mathewson committed May 2, 2012
Commits on May 1, 2012
  1. When retransmitting a timed-out DNS request, pick a fresh nameserver.

    Otherwise, requests initially sent to a failing nameserver would
    stay there indefinitely, even if other nameservers would work.
    
    Fix for sourceforge bug 3518439
    Nick Mathewson committed May 1, 2012
  2. Make some evdns.c debug logs more verbose

    Nick Mathewson committed May 1, 2012
  3. Correctly handle running on a system where accept4 doesn't work.

    Previously, we treated EINVAL as the only errno that indicated a
    broken accept4.  But EINVAL only appears when one of the SOCK_*
    options isn't supported.  If the accept4 syscall itself isn't there,
    we'll get an ENOSYS.
    
    Reported by Azat Khuzhin.
    Nick Mathewson committed May 1, 2012
  4. Merge branch '21_robust_monotonic'

    Nick Mathewson committed May 1, 2012
  5. Merge remote-tracking branch 'origin/patches-2.0'

    Conflicts:
    	event.c
    Nick Mathewson committed May 1, 2012
  6. Merge remote-tracking branch 'github/20_active_prio_inv' into patches…

    …-2.0
    Nick Mathewson committed May 1, 2012
  7. Merge remote-tracking branch 'origin/patches-2.0'

    Conflicts:
    	bufferevent_openssl.c
    Nick Mathewson committed May 1, 2012
  8. Work-around a stupid gcov-breaking bug in OSX 10.6

    This only affects the unit tests.
    
    Fix found at http://rachelbythebay.com/w/2011/07/12/forkcrash/
    
    (Backport from 2.1)
    Nick Mathewson committed Apr 12, 2012
  9. Fixed potential double-readcb execution with openssl bufferevents.

    the function do_read() will call SSL_read(), and if successful, will
    call _bufferevent_run_readcb() before returning to consider_reading().
    
    consider_reading() will then check SSL_pending() to make sure all
    pending data has also been read. If it does not, do_read() is called
    again.
    
    The issue with this is the possibility that the function that is
    executed by _bufferevent_run_readcb() called
    bufferevent_disable(ssl_bev, EV_READ) before the second do_read(); In
    this case, the users read callback is executed a second time. This is
    potentially bad for applications that expect the bufferevent to stay
    disabled until further notice. (this is why running openssl bufferevents
    without DEFER_CALLBACKS has always been troublesome).
    ellzey committed with Nick Mathewson Mar 30, 2012
Commits on Apr 30, 2012
  1. If a higher-priority event becomes active, don't continue running eve…

    …nts of the current priority.
    
    Bug found by Ralph Castain.
    Nick Mathewson committed Apr 30, 2012
Commits on Apr 27, 2012
  1. Generate event-config.h with a single sed script

    This approach should make the creation of the file more atomic, to
    fix a bug reported by Dinh.
    
    This patch has one change from Zack's original version: it avoids
    $<, since Dave Hart tells me he thinks that's not so portable.
    
    (commit message by nickm)
    zackw committed with Nick Mathewson Apr 27, 2012