Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 17, 2015
  1. Nick Mathewson

    Merge pull request #220 from miniupnp/fix_warnings

    nmathewson authored
    Fix warnings
Commits on Feb 16, 2015
  1. Thomas BERNARD
  2. Thomas BERNARD

    Fix "function declaration isn’t a prototype"

    miniupnp authored
    add "void" to argument list
Commits on Feb 5, 2015
  1. Nick Mathewson

    Merge pull request #214 from JoakimSoderberg/appveyor

    nmathewson authored
    Forgot to install OpenSSL for appveyor
  2. Joakim Söderberg
  3. Nick Mathewson

    Merge pull request #117 from JoakimSoderberg/appveyor

    nmathewson authored
    Add support for appveyor.com windows CI
  4. Joakim Söderberg

    Add support for appveyor.com windows CI

    JoakimSoderberg authored
    This does the same thing as Travis-CI but for windows.
    
    @nmathewson
    Go to: https://ci.appveyor.com/login -> Login using Github
    Click **+New Project** -> Choose **Github** to the left -> Find **Libevent** in the list and click **Add**
  5. Nick Mathewson
  6. Joakim Söderberg

    This fixes a bug introduced in 27bd9fa

    JoakimSoderberg authored
    CMake configuration files are intended to be used by other projects to find the library. Specifically the CMake find_package command can use it to find all files related to the project.
    
    The idea is to support 2 different CMake configuration files for Libevent. One if you simply build libevent that is generated for the build tree.
    And a second one that is generated for an install target that will be installed on the system and point to where on the system the lib files and such can be find.
    
    So for instance, in the build tree the config would set the cmake variable `LIBEVENT_INCLUDE_DIRS` to `/path/to/libevent/build/include`.
    And for the system config it would be set to `/usr/local/include` (or whatever target the user chose when running cmake).
    
    27bd9fa changed this behavior so that both configs would point to the system wide path `/usr/local/include`
    
    This meant that projects just wanting to import directly for the build tree would fail.
Commits on Feb 4, 2015
  1. Nick Mathewson

    Merge pull request #207 from azat/avoid-leaking-of-event_debug_map_HT…

    nmathewson authored
    …_GROW
    
    Avoid leaking of event_debug_map_HT_GROW
Commits on Feb 3, 2015
  1. Nick Mathewson

    Merge pull request #212 from xbao/master

    nmathewson authored
    changed strtotimeval signature to avoid conflict with Android NDK sys/time.h header (#211)
Commits on Feb 2, 2015
  1. Merge remote-tracking branch 'public/master'

    Nick Mathewson authored
  2. New function to get address for nameserver.

    Nick Mathewson authored
Commits on Jan 28, 2015
  1. sheepgoesbaaa
Commits on Jan 27, 2015
  1. Nick Mathewson

    Merge pull request #210 from mc-server/master

    nmathewson authored
    Added cmake-generated files to ignore list.
  2. Mattes D

    Added cmake-generated files to ignore list.

    madmaxoft authored
    These are generated by cmake on Windows with MSVC.
Commits on Jan 25, 2015
  1. Azat Khuzhin

    be_pair/regress: cover use of shared lock (lock/unlock/free)

    azat authored
    For more info look at 92a359e
    ("be_pair: release shared lock with the latest of bufferevent_pair")
  2. Azat Khuzhin

    event_free_debug_globals_locks(): disable lock debugging

    azat authored
    This will allow to use library event after
    event_free_debug_globals_locks()/libevent_global_shutdown() without
    invalid read/write's.
  3. Azat Khuzhin
  4. Azat Khuzhin
  5. Azat Khuzhin

    be_pair: release shared lock with the latest of bufferevent_pair

    azat authored
    Then next code sample will use free'd lock:
      evthread_use_pthreads();
      ...
      assert(!bufferevent_pair_new(base, BEV_OPT_THREADSAFE, pair));
      ...
      bufferevent_free(pair[0]); # refcnt == 0 -> unlink
      bufferevent_free(pair[1]); # refcnt == 0 -> unlink
      ...
      event_base_free() -> finalizers -> EVTHREAD_FREE_LOCK(bev1->lock)
                                      -> BEV_LOCK(bev2->lock) <-- *already freed*
    
    While if you will reverse the order:
      bufferevent_free(pair[1]); # refcnt == 0 -> unlink
      bufferevent_free(pair[0]); # refcnt == 0 -> unlink
      ...
      event_base_free() -> finalizers -> BEV_LOCK(bev2->lock)/!own_lock/BEV_UNLOCK(bev2->lock)
                                      -> EVTHREAD_FREE_LOCK(bev1->lock) (own_lock)
    
    It is ok now, but I guess that it will be better to relax order of
    freeing pairs.
Commits on Jan 22, 2015
  1. Nick Mathewson

    Merge pull request #115 from jer-gentoo/master

    nmathewson authored
    EVBUFFER_PTR_SET -> EVBUFFER_PTR_ADD
Commits on Jan 21, 2015
  1. Jeroen Roovers

    EVBUFFER_PTR_SET -> EVBUFFER_PTR_ADD

    jer-gentoo authored
    Looks like EVBUFFER_PTR_ADD should have been used instead of EVBUFFER_PTR_SET.
Commits on Jan 8, 2015
  1. Azat Khuzhin
  2. Azat Khuzhin

    event: call event_disable_debug_mode() in libevent_global_shutdown()

    azat authored
    This will avoid leaking of event_debug_map_HT_GROW
    
    I buildin it into libevent_glboal_shutdown() because
    event_disable_debug_mode() -> event_free_debug_globals() ->
    event_free_debug_globals_locks() will clean event_debug_map_lock_ that
    used in event_disable_debug_mode().
  3. Azat Khuzhin

    ht-internal: don't reset hth_table_length explicitly in name_##HT_CLEAR

    azat authored
    name_##HT_CLEAR calls name_##HT_INIT that reset hth_table_length to 0.
Commits on Jan 5, 2015
  1. Update changelog

    Nick Mathewson authored
  2. Merge branch '21_cve_2014_6272_v2'

    Nick Mathewson authored
  3. Fix CVE-2014-6272 in Libevent 2.1

    Nick Mathewson authored
    For this fix, we need to make sure that passing too-large inputs to
    the evbuffer functions can't make us do bad things with the heap.
    
    Also, lower the maximum chunk size to the lower of off_t, size_t maximum.
    
    This is necessary since otherwise we could get into an infinite loop
    if we make a chunk that 'misalign' cannot index into.
  4. Increment version to 2.1.5-beta

    Nick Mathewson authored
  5. work on changelog for 2.1.5-alpah

    Nick Mathewson authored
Commits on Jan 4, 2015
  1. Nick Mathewson

    Merge pull request #201 from nsuke/cmake-shared-build

    nmathewson authored
    Fix CMake shared library build
Commits on Jan 2, 2015
  1. Aki Sukegawa

    Fix CMake shared library build

    nsuke authored
    This fixes following problems in shared library build:
    * visibility=hidden was not enabled for gcc because of incorrect variable name
    * test programs that need internal APIs caused link errors
Commits on Dec 23, 2014
  1. Nick Mathewson

    Merge pull request #197 from JohnOhl/fix-clang-compile-warnings

    nmathewson authored
    Fix warnings when compiling with clang 3.5
Something went wrong with that request. Please try again.