Log

Author Commit Date CI Message
Joachim Bauch b7577868 2012-09-03T17:49:15 Prevent reference leak of bufferevent if getaddrinfo fails.
Nick Mathewson b7f6e89a 2012-08-28T16:22:00 We now require automake 1.9 or later. Modernize!
Nick Mathewson 1e3123da 2012-08-28T16:15:14 Fix handling of no-python case for nonrecursive make
Nick Mathewson 607a8ff9 2012-08-28T16:14:38 Be quiet when making regress.gen.[ch]
Nick Mathewson aa59c1e9 2012-08-28T16:14:17 New --quiet option for event_rpcgen.py
Nick Mathewson 371a1237 2012-08-28T16:07:56 Make quiet build even quieter
Nick Mathewson 6cdfeebe 2012-08-28T16:01:14 Rename subordinate Makefile.ams to include.am
Nick Mathewson 7092f3b6 2012-08-28T15:58:18 Switch to non-recursive makefiles This approach should let Make work better, let libevent build faster (especially when using a parallelized build), and basically make the Makefiles easier to maintain. See http://miller.emu.id.au/pmiller/books/rmch/ for more info on why you'd want to do this. This is due to an idea from Zack Weinberg; the patch is my own.
Nick Mathewson 7b18e5c6 2012-08-28T15:10:55 Enable silent build rules by default. Override with V=1
Nick Mathewson 7d60ba84 2012-08-28T15:09:49 Use newer syntax for autoconf/automake init
Nick Mathewson 2aad8cbb 2012-08-24T11:41:18 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 484e93c1 2012-08-24T11:40:46 Increment version to 2.0.20-stable-dev
Nick Mathewson 1879e061 2012-08-23T14:42:54 Update ChangeLog-2.0
Nick Mathewson 5cf0db7d 2012-08-23T14:41:51 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 41d77a7c 2012-08-23T14:39:30 Add a date to the changelog
Nick Mathewson 46604b34 2012-08-23T14:38:54 Increment version to 2.0.20-stable
Nick Mathewson fc43cbdc 2012-08-23T10:36:39 Initial changelog and credits for 2.0.20
Nick Mathewson 3b3e21de 2012-08-23T11:42:04 Add missing implementation for event_enable_debug_logging
Nick Mathewson 07e132e3 2012-08-23T10:46:29 Rename event_enable_lock_debuging() to ..._debugging() Keep the misspelled version around for backward compatibility Based on a patch by Diwaker Gupta.
Nick Mathewson e3d010c8 2012-08-23T10:13:26 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 606ac43b 2012-08-22T12:30:42 Correctly invoke callbacks when a SSL bufferevent reads some and then blocks. Based on a patch by Andrew Hochhaus, who correctly diagnosed this bug.
Nick Mathewson f1bd9388 2012-08-02T15:02:27 Avoid test -e; older shs don't have one. Reported by Paul Croome. Report forwarded by Dave Hart.
Nick Mathewson 34c8f316 2012-08-02T12:36:05 Add deferred_cb_skew to list of timing-dependent tests
Nick Mathewson 9be54680 2012-08-02T12:35:49 Avoid unused-var warning on systems with clock_gettime but without CLOCK_MONOTONIC_COARSE
Nick Mathewson a64c5647 2012-08-02T12:09:08 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: evutil_rand.c
Nick Mathewson ca80ea61 2012-08-02T11:56:17 Add explicit AC_PROG_SED to configure.in so all autoconfs will expose $(SED)
Nick Mathewson c0720c1b 2012-08-02T11:38:32 Fix an unused variable warning on *BSD.
Nick Mathewson 403b0d6e 2012-07-31T12:03:48 Merge remote-tracking branch 'ppelleti/windows-ssl'
Nick Mathewson 9be8624b 2012-07-30T17:08:44 Merge remote-tracking branch 'origin/patches-2.0'
Greg Hazel dc320776 2012-07-30T16:52:55 Avoid segfault on weird timeout during name lookup. If an evdns_getaddrinfo timeout happens while pending_cb is set, and a callback is about to run, but we get a call to evdns_getaddrinfo_gotresolve before it finishes. Github issue #60. Thanks to Greg Hazel for patch and patience.
Nick Mathewson 737f113a 2012-07-26T10:49:06 Extract common error-handling code in evconnlistener_new_bind
Nick Mathewson 6a81b1f5 2012-07-26T10:45:10 Avoid double-free on error in evbuffer_add_file. Found by coverity.
Nick Mathewson 6487f63b 2012-07-26T10:44:48 Check return value when using LEV_OPT_DEFERRED_ACCEPT. Found by coverity
Nick Mathewson 9852107f 2012-07-26T10:43:13 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: buffer.c http.c
Nick Mathewson a0912e32 2012-07-26T10:39:05 Check more setsockopt return values when binding sockets. Found by coverity
Nick Mathewson a1a0e675 2012-07-26T10:38:29 memset sockaddr_in before using it. Found by coverity.
Nick Mathewson a2006c00 2012-07-26T10:37:47 Move assignment outside tt_assert in ssl unit tests. Appeases coverity.
Nick Mathewson b9e73297 2012-07-26T10:37:13 Add checks to various return values in unit tests. Found by coverity
Nick Mathewson 6a4ec5c2 2012-07-26T10:34:06 Avoid possible needless call to writev. Found by coverity.
Nick Mathewson 6355b2a4 2012-07-26T10:16:47 Remove unused variable; spotted by coverity
Nick Mathewson 225344cf 2012-07-26T10:11:17 Fix a shadowed variable in addfile_test_readcb; found by coverity
Nick Mathewson 92817a11 2012-07-26T10:11:00 Avoid memory leak in test_event_calloc unit test; found by coverity
Nick Mathewson aa501e1a 2012-07-26T10:10:35 Add checks for functions in test-ratelim.c; found by Coverity
Nick Mathewson 7ef04e4b 2012-07-26T10:09:13 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: configure.in test/regress_buffer.c test/regress_dns.c
Nick Mathewson 3cde5bf5 2012-07-26T10:04:43 Avoid more crashes/bad calls in unit tests; found by coverity
Nick Mathewson f021c3d7 2012-07-26T09:59:47 Add some missing null checks to unit tests; found by coverity
Nick Mathewson 270f279f 2012-07-26T09:53:20 Fix resource leaks in the unit tests; found by coverity
Nick Mathewson 4f3732d7 2012-07-26T09:35:43 Fix various check-after-dereference issues in unit tests: found by coverity
Nick Mathewson f1ce15d9 2012-07-25T16:18:33 Set umask before calling mkstemp in unit tests. Found by coverity
Nick Mathewson 13525c50 2012-07-25T16:07:22 Fix another possible uninitialized read in dns regression tests. Found by coverity.
Nick Mathewson 6fdbf3a2 2012-07-25T16:06:51 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 2259777c 2012-07-25T16:05:36 Fix possible uninitialized read in dns regression tests. Found by coverity.
Nick Mathewson 55533467 2012-07-25T15:59:50 Remove deadcode in http regression tests. Found by coverity.
Nick Mathewson 3d83f94d 2012-07-23T16:32:43 Add process.h include to evutil.c for _getpid
Nick Mathewson 52a0039b 2012-07-20T15:36:15 Fix tinytset_skip to work with new tinytest_set_flag_ signature
Nick Mathewson cdb47db9 2012-07-20T15:35:33 Fix compile error in win32 listener.c SF issue 3546388
Nick Mathewson 01b65ab8 2012-07-17T11:10:44 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 11c8b317 2012-07-17T11:08:25 Fix a memory leak on error in evhttp_uriencode If we ran out of memory in evhttp_uriencode when allocating the output buffer, we would neglect to call evbuffer_free() on our temporary buffer. Now we always free the temporary buffer. Fixes sourceforge issue 3539887. Thanks to Andrew Cox for reporting this one.
Nick Mathewson 6c14d564 2012-07-16T15:44:07 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: event.c win32select.c
Nick Mathewson 160e58b6 2012-07-16T15:34:18 Win32: avoid crash when waiting forever on zero fds.
Patrick Pelletier 6bde2efd 2012-07-10T17:26:40 Additional comments about OPENSSL_DIR variable, prompted by Dave Hart
Patrick Pelletier eba0eb2e 2012-06-08T19:47:23 attempt to support OpenSSL in Makefile.nmake
Nick Mathewson 2b6fe8bb 2012-06-29T12:47:51 Make load-dependent monotonic timer tests off-by-default You can reenable them with @all, or say @fine_timing just to get them.
Nick Mathewson 56710337 2012-06-29T12:47:39 Avoid (unlikely) overflow in bench_httpclient.c
Nick Mathewson c8009d29 2012-06-29T12:47:03 Check return value of write() in regress.c
Nick Mathewson 59f21fd8 2012-06-28T16:52:21 Merge branch '21_nonrecursive'
Nick Mathewson f2cea873 2012-06-28T13:18:28 Make all tests that hit the network disabled by default To run only these tests, run test/regress with @live_net. To run all tests, run test/regress with @all.
Nick Mathewson ef7c4f79 2012-06-28T12:58:46 Update to latest tinytest (911b4f0349377)
Nick Mathewson def3b834 2012-06-28T12:57:58 Make test_evutil_monotonic a little more tolerant
Nick Mathewson 9cd5acb5 2012-06-28T12:00:57 Make th_base_lock nonrecursive This is necessary for making some thread libraries work with event.c, and might get better performance with others. The biggest change required here was that we needed to make some internal code that had previously called event_add and event_del call the nolock variants.
Nick Mathewson 108896ab 2012-06-28T11:42:25 Merge branch 'master' of ssh://github.com/libevent/libevent
Nick Mathewson e2d7d98d 2012-06-28T11:37:45 remove a now-unused var in thread_deferred_cb_skew test
Nick Mathewson 8a739b34 2012-06-28T11:36:52 Merge branch '21_event_callback_v3'
Nick Mathewson ea92fba3 2012-06-25T13:55:45 Avoid a resource leak on error in http client benchmark
Nick Mathewson 0de587f4 2012-06-25T12:19:26 Simplify and correct evutil_open_closeonexec_ The original code needlessly called open in its two- or three- argument format depending on the O_CREAT flag; this should not be needed. The code also leaked an fd if fcntl() failed. Reported by Dave Hart.
Dave Hart 1aaf9f01 2012-06-18T10:31:38 Avoid giving a spurious warning when timerfd support is unavailable We forgot to do the obligatory "Check if there is no syscall there" dance when calling timerfd_create(). (Commit message by Nick)
Simon Liu be7a95c6 2012-06-15T01:01:05 Make event_pending() threadsafe. (Commit message by Nick)
Nick Mathewson 117e3273 2012-06-14T13:25:10 Add GCC annotations so that the vsprintf functions get checked properly
Nick Mathewson e7bf4c84 2012-06-08T16:50:25 Make the Makefile.nmake warning slightly less dire
Nick Mathewson 0ba0683b 2012-06-08T16:45:01 Add evutil_time.obj to Makefile.nmake
Nick Mathewson 60f65403 2012-06-06T14:10:11 Merge pull request #57 from rosslagerwall/memleak Fix a couple of memory leaks (found with Valgrind).
Nick Mathewson 90daab61 2012-06-06T17:06:57 Merge remote-tracking branch 'origin/patches-2.0'
Ross Lagerwall 3b2529ac 2012-06-06T21:57:12 Fix a couple of memory leaks (found with Valgrind).
Nick Mathewson 0bbd850c 2012-06-04T14:16:02 Merge pull request #56 from rosslagerwall/fix-comment Fix a comment in test-fdleak after 077c7e949.
Ross Lagerwall 3881d8fd 2012-06-03T15:19:53 Fix a comment in test-fdleak after 077c7e949.
Nick Mathewson f3bd3672 2012-06-01T09:50:07 Merge remote-tracking branch 'origin/patches-2.0'
Sebastian Hahn fcec3e80 2012-06-01T05:23:29 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
Nick Mathewson f1284e73 2012-05-31T02:52:37 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: evutil_rand.c Had conflicts with _EVENT_ -> EVENT__ change.
Greg Hazel bff5f940 2012-05-29T12:39:12 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.)
Nick Mathewson 76b994ac 2012-05-21T10:59:20 Merge pull request #54 from rosslagerwall/configure-dup Remove unnecessary code in configure.in.
Nick Mathewson 9444524f 2012-05-14T11:10:51 Make it more clear that NOLOCK means "I promise, no multithreading"
Nick Mathewson 6fab9eef 2012-05-14T10:58:01 Add caveat to docs about bufferevent_free() with data in outbuf Based on libevent-users thread wtih Alexander Klauer
Nick Mathewson 371efebd 2012-05-14T10:55:27 Be more clear that LEV_OPT_DEFERRED_ACCEPT has tricky prereqs
Ross Lagerwall e65914fd 2012-05-12T08:38:19 Remove unnecessary code in configure.in.
Nick Mathewson 7d6aa5ee 2012-05-09T12:05:07 Add an event_base_loopcontinue() to tell libevent to rescan right away
Nick Mathewson c0e425ab 2012-05-09T11:06:06 Restore our priority-inversion-prevention code with deferreds Back when deferred_cb stuff had its own queue, the queue was always executed, but we never ran more than 16 callbacks per iteration. That made for two problems: 1: Because deferred_cb stuff would always run, and had no priority, it could cause priority inversion. 2: It doesn't respect the max_dispatch_interval code. Then, when I refactored deferred_cb to be a special case of event_callback, that solved the above issues, but made for two more issues: 3: Because deferred_cb stuff would always get the default priority, it could could low-priority bufferevents to get too much priority. 4: With code like bufferevent_pair, it's easy to get into a situation where two deferreds keep adding one another, preventing the event loop from ever actually scanning for more events. This commit fixes the above by giving deferreds a better notion of priorities, and by limiting the number of deferreds that can be added to the _current_ loop iteration's active queues. (Extra deferreds are put into the active_later state.) That isn't an all-purpose priority inversion solution, of course: for that, you may need to mess around with max_dispatch_interval.
Nick Mathewson 581b5beb 2012-05-09T10:50:07 Give event_base_process_active a single exit path
Nick Mathewson c46cb9c3 2012-05-09T10:49:28 Make event_base_getnpriorities work with old "implicit base" code
Nick Mathewson bd395549 2012-05-08T18:04:19 Add a bufferevent_get_priority() function
Nick Mathewson f90e2559 2012-05-08T17:46:46 New event_get_priority() function to return an event's priority