|
9d6acdc5
|
2014-08-29T15:00:33
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
60f8f729
|
2014-08-29T14:59:17
|
|
Consistently check for failure from evbuffer_pullup()
Closes issue #148.
|
|
9f3a8acf
|
2014-08-29T14:38:09
|
|
Merge pull request #153 from azat/tests-simplestsignal
test/regress: add simplestsignal: to track reorder bugs separately
|
|
8bf769c4
|
2014-08-29T14:32:10
|
|
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
sample/http-server.c
|
|
6466e88a
|
2014-08-29T14:31:07
|
|
Use FindClose for handle from FindFirstFile in http-server.c
Noted by Miles Chan as issue #145
|
|
f691389e
|
2014-08-29T14:28:09
|
|
Change return type of evutil_load_windows_system_library_ to HMODULE
Noted by Miles Chan as issue #146
|
|
2c82aa0f
|
2014-04-30T13:55:49
|
|
Fix issue #127, double free for filterevents that use BEV_OPT_CLOSE_ON_FREE
|
|
571295bd
|
2014-08-18T10:14:29
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
1a8295a3
|
2014-08-13T23:17:52
|
|
Add a few files created by "make verify" to .gitignore.
|
|
b897beff
|
2014-02-23T02:31:51
|
|
test/regress: add simplestsignal: to track reorder bugs separately
|
|
6ec94926
|
2014-06-14T23:44:47
|
|
Merge pull request #140 from vapier/ignore
ignore config.cache/test-driver files
|
|
c6becf2b
|
2014-06-14T23:44:18
|
|
Merge pull request #143 from vapier/disable-sample
add a --disable-samples configure flag
|
|
0c492b33
|
2014-06-13T17:07:50
|
|
add a --disable-samples configure flag
For people building & installing libevent in a distro, building all these
sample apps are not useful. Add a flag to turn them off.
|
|
c83f3333
|
2014-06-13T14:18:13
|
|
ignore config.cache/test-driver files
config.cache is generated when you run `./configure -C`.
test-driver comes from newer autotools.
|
|
6fd73944
|
2014-06-07T12:57:02
|
|
Handle ENOTCAPABLE from FreeBSD - this is returned if an event in the
changelist is for an FD that has been closed.
|
|
6d72bdca
|
2014-05-30T13:53:27
|
|
Make http-server.c output into good html5
|
|
8da5a186
|
2014-05-08T13:21:49
|
|
Update to a more recent tinytest_macros.
This one has less of a tendency to suppress important type warnings.
|
|
28db827e
|
2014-04-14T10:00:51
|
|
Merge pull request #132 from credil/master
ignore one more test binary
|
|
b6593aab
|
2014-04-13T13:07:16
|
|
ignore one more test binary
|
|
a4154192
|
2014-03-31T11:50:30
|
|
Merge pull request #125 from azat/tree.h-drop-copy
tree.h: drop duplicated content of tree.h
|
|
61931871
|
2014-03-28T20:44:09
|
|
tree.h: drop duplicated content of tree.h
Introduced in 9859bc783adcd51729b3d7563902ac8caca67b42
("r15764@tombo: nickm | 2007-12-31 15:46:16 -0500")
|
|
b163fdaa
|
2014-03-26T11:10:16
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
e8fe749d
|
2014-03-21T14:08:17
|
|
Fix a crash in evdns related to shutting down evdns
(Improved version to deal correctly with probe requests)
Patch from YASUOKA Masahiko; fix for libevent github issue #113.
|
|
6066f985
|
2014-03-26T11:02:52
|
|
Merge pull request #121 from azat/dns-regress-leaks
regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests
|
|
8163b1a1
|
2014-03-26T10:51:17
|
|
Merge pull request #122 from trondn/missing-file
Add missing headerfile for cmake
|
|
15d90cce
|
2014-03-24T15:01:02
|
|
Add missing headerfile for cmake
|
|
2fdc5f29
|
2014-03-23T15:12:29
|
|
regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests
|
|
86665a58
|
2014-03-21T14:09:54
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
9f39c887
|
2014-03-21T14:08:17
|
|
Fix a crash in evdns related to shutting down evdns
Patch from YASUOKA Masahiko; fix for libevent github issue #113.
|
|
de268feb
|
2014-03-21T13:20:34
|
|
Increment version to 2.1.4-alpha-dev
|
|
50093afc
|
2014-03-21T12:33:13
|
|
Update release date in changelog
|
|
f5c0d6c3
|
2014-03-21T11:45:31
|
|
Merge pull request #116 from trondn/cmake-build-fixes
Cmake build fixes
|
|
73474042
|
2014-03-21T12:12:10
|
|
Fixup make install for cmake projects
Install all of the public headers and put the dll's in the
same directory as the binaries.
|
|
dc82c8d3
|
2014-03-21T11:59:55
|
|
Renamed sin to saddr due to name conflict
During building on MSVC 2013 I got a compiler error by a
type conflict for sin:
test-fdleak.c(60) : error C2365: 'sin' : redefinition; previous definition was 'function'
test-fdleak.c(134) : error C2070: 'double (__cdecl *)()': illegal sizeof operand
test-fdleak.c(134) : error C2198: 'evconnlistener_new_bind' : too few arguments for call
test-fdleak.c(148) : error C2070: 'double (__cdecl *)()': illegal sizeof operand
test-fdleak.c(148) : error C2168: 'memcpy' : too few actual parameters for intrinsic function
test-fdleak.c(149) : error C2224: left of '.sin_family' must have struct/union type
test-fdleak.c(212) : error C2070: 'double (__cdecl *)()': illegal sizeof operand
test-fdleak.c(212) : error C2198: 'bufferevent_socket_connect' : too few arguments for call
test-fdleak.c(239) : error C2070: 'double (__cdecl *)()': illegal sizeof operand
test-fdleak.c(239) : error C2168: 'memset' : too few actual parameters for intrinsic function
test-fdleak.c(240) : error C2224: left of '.sin_family' must have struct/union type
test-fdleak.c(241) : error C2224: left of '.sin_addr' must have struct/union type
test-fdleak.c(242) : error C2224: left of '.sin_port' must have struct/union type
The simplest solution to this problem would be to rename
the variable.
|
|
6a1c4d50
|
2014-03-18T18:36:32
|
|
Correctly skip ipv6 http test on systems without ipv6
|
|
e5302ac7
|
2014-03-18T12:35:39
|
|
Remove integer-overflow unit tests
There's not much point checking undefined behavior.
|
|
31c49150
|
2014-03-18T12:27:14
|
|
evtag: detect tags over 32-bits earlier
|
|
e660db6d
|
2014-03-18T11:39:23
|
|
Catch over-large port numbers early in http
Otherwise integer overflow potentially turns the port number into garbage.
|
|
58fc9b6c
|
2014-03-18T11:35:50
|
|
Fix ubsan warnings when parsing ipv4/ipv6 addrs
left-shifting a one-byte integer by 24 invokes undefined behavior.
Let's not do that.
|
|
ec99dd82
|
2014-03-18T11:25:58
|
|
Fix a use-after-free error on EV_CLOSURE_EVENT_FINALIZE callbacks
After running the callback, we were checking evcb->evcb_closure to
decide whether to call mm_free(ev). But the callback itself might
have freed ev, so we need to grab that field first
Found with AddressSanitizer
|
|
860c71c8
|
2014-03-18T11:13:45
|
|
Fix an illegal read error in the evbuffer_add_reference tests
Found with AddressSanitizer
|
|
3b1b330d
|
2014-03-16T21:44:43
|
|
Add new APIs to whatsnew-2.1
|
|
d08273ec
|
2014-03-16T12:09:24
|
|
Increment version to 2.1.4-alpha
|
|
e6c6f120
|
2014-03-16T12:01:44
|
|
Bring changelog up to date for 2.1.4-alpha
|
|
2578ec14
|
2014-03-13T10:46:59
|
|
Avoid double-close paths in http tests
Coverity spotted that there were some paths through the test
functions that would double-close some sockets.
|
|
b6f15cce
|
2014-03-12T18:19:07
|
|
Add missing include to regress_finalize.h
|
|
21477e40
|
2014-03-12T18:13:19
|
|
Skip http/ipv6_for_domain test when we have no ipv6 support
|
|
5e161c66
|
2014-03-12T18:12:43
|
|
Add an include to evrpc-internal to fix openbsd compilation warning
|
|
4947c185
|
2014-03-12T14:29:15
|
|
Heap-allocate zlib data structure in regress_zlib tests
|
|
57abb359
|
2014-03-12T14:06:41
|
|
Fix consts in WIN32-Code/getopt*.[ch]
|
|
58408eed
|
2014-03-12T14:06:02
|
|
Fix duplicate paragraph in evbuffer_ptr documentation
|
|
af9b2a7a
|
2014-03-12T13:25:02
|
|
Initialize async bufferevent timeout CBs unconditionally
This is a fix for bug #93 on nmathewson/Libevent.
|
|
462e6b60
|
2014-03-12T12:45:41
|
|
add a cast to https-client.c
|
|
2b41bcf8
|
2014-03-07T18:09:56
|
|
Export event_extra not event_extras.
|
|
7a804767
|
2014-03-06T18:09:00
|
|
Update to the latest version of tinytest
This brings us up to tinytest 709a36ba63ff16d8
|
|
239d8345
|
2014-03-06T10:18:09
|
|
Fix 'make distcheck' by adding regress.gen.[ch] to DISTCLEANFILES
Patch from Harlan Stenn.
|
|
98059721
|
2014-03-06T10:09:03
|
|
Move assert(ev) to before we use ev in EV_CLOSURE_EVENT_FINALIZE case
Based on a patch from Harlan Stenn.
|
|
8896a92b
|
2014-03-03T13:47:21
|
|
Merge remote-tracking branch 'origin/pr/110'
|
|
cbfa8da1
|
2014-03-03T11:23:55
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
b56611d7
|
2014-02-19T06:49:31
|
|
Add -Qunused-arguments for clang on macos
The clang compiler provided with macosx emits warnings like:
CC bufferevent.lo
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-I ./compat'
clang: warning: argument unused during compilation: '-I ./include'
clang: warning: argument unused during compilation: '-I ./include'
for each file being compiled. This generates a lot of noise during
compilation making it hard to see "real" errors. This patch mute
those warnings.
|
|
4545fa9b
|
2014-02-19T06:31:27
|
|
Add option to build shared library
|
|
3908a5e3
|
2014-02-24T15:07:38
|
|
Do not offer EV_FEATURE_EARLY_CLOSE if we have no EPOLLRDHUP
|
|
f24cba3b
|
2014-02-24T20:05:03
|
|
Merge pull request #97 from JoakimSoderberg/openwrt_fixes
BUGFIX: Fix compilation on systems with EPOLLRDHUP undefined.
|
|
f665d5cb
|
2014-02-24T10:32:00
|
|
Stop checking for inet_aton; we don't use it.
We had cmake and autoconf tests for the inet_aton function... but we
never actually use it any more.
(The autoconf tests still use the callability of inet_aton to decide
whether we need to link against -lresolv)
Reported by Harlan Stenn.
|
|
a0dd5df2
|
2014-02-19T06:29:58
|
|
Rename event_extras to event_extra
The library event_extras is named event_extra when building with
GNU autotools
|
|
ff266332
|
2014-02-17T12:43:10
|
|
BUGFIX: Fix compilation on systems with EPOLLRDHUP undefined.
Since epolltable-internal.h uses this define, it must be defined before that is included.
|
|
565ea26b
|
2014-02-14T22:51:11
|
|
Merge pull request #108 from trondn/cmake-build-fix
CMake build-related fixes
|
|
e0613212
|
2014-02-14T09:04:48
|
|
Add cmake-related files to .gitignore
|
|
ed99d92c
|
2014-02-14T08:26:07
|
|
Added -Qunused-arguments for clang on macosx
The CLang provided through Xcode on Mac OSX emits warnings for
all unused include paths making the compilation extremely verbose.
|
|
49efac53
|
2014-02-09T13:35:21
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
f2428a28
|
2014-02-09T13:29:26
|
|
bufferevent_pair: don't call downcast(NULL)
|
|
2ea15ed0
|
2014-01-27T14:54:55
|
|
Tweaked callbacks to prevent race condition (https://github.com/libevent/libevent/issues/104)
|
|
40830f16
|
2014-01-27T13:03:36
|
|
Tweaked callbacks to prevent race condition (https://github.com/libevent/libevent/issues/104)
|
|
8c0f0a9b
|
2014-01-24T16:30:17
|
|
Added a Travis-CI configuration file.
Initial stab at a first Travis config file.
|
|
ee0185e5
|
2014-01-22T11:55:26
|
|
Merge remote-tracking branch 'joakimsoderberg/win32_fixes'
|
|
99cd8187
|
2014-01-22T11:46:52
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
dfe1e526
|
2014-01-22T11:17:35
|
|
Check does arch have the epoll_create and __NR_epoll_wait syscalls.
Some architectures (like AArch64) do not have deprecated syscalls.
Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
|
|
e212c548
|
2014-01-22T13:19:49
|
|
Check for OSX when checking for clang.
|
|
f1715b47
|
2014-01-22T12:12:51
|
|
Guard against EVENT_NOWIN32 being set during testing.
On windows all tests will fail if EVENT_NOWIN32 is set, since then there
will be no backend available.
Question is if we should simply disable the environment variable check on
Windows, since there's only one backend available anyway?
|
|
d7be7887
|
2014-01-22T11:15:17
|
|
Fix https-client compilation on Windows.
ssize_t is not defined. But using ssize_t for s in this context makes no
sense, since fread returns size_t.
|
|
d38d798b
|
2014-01-22T00:06:21
|
|
CMake: Get rid of python not found warning when regress tests turned off.
It would warn that python wasn't found when it was, just because the regress tests where turned off... confusing.
|
|
e423d420
|
2014-01-22T00:03:37
|
|
Fix CMake compile when OpenSSL is disabled.
|
|
43ffcf69
|
2014-01-21T15:47:44
|
|
Split epoll lookup table into a separate header file
It accounted for more than half the length of epoll.c, and it's
machine-generated, so we might as well keep it separate.
|
|
53d27938
|
2014-01-21T15:44:05
|
|
Expand EV_CLOSED documentation a bit
|
|
5c142a7e
|
2014-01-21T14:53:47
|
|
Merge remote-tracking branch 'origin/pr/98'
|
|
d03b5bf0
|
2014-01-21T14:29:00
|
|
Disclaimerize cmake a little in the README
|
|
4cb44fdf
|
2014-01-21T14:26:01
|
|
Merge remote-tracking branch 'joakimsoderberg/new_cmake'
Conflicts:
sample/https-client.c
|
|
ae1bd829
|
2014-01-21T19:19:30
|
|
Fix broken autotools build.
The move of the static *config.h files to a sub directory for WIN32 broke the autotools build. Use the proper subpath for that as well...
|
|
c2076824
|
2014-01-21T12:21:37
|
|
Fix a c90 warning
|
|
8b40a5b0
|
2014-01-21T11:35:21
|
|
Check if we're on OSX before disabling deprecation in le-proxy
|
|
4e143958
|
2014-01-21T11:30:27
|
|
Change all uses of WIN32 to _WIN32
|
|
20244671
|
2014-01-21T11:19:02
|
|
Fix include bug.
On systems where a previous version of Libevent is installed we don't want the system version of the headers to be included before the ones in the build tree. This happened on my OSX system where I had an ancient version of Libevent installed. It would then load the incorrect event-config.h and fail because the system introspection macros weren't set properly.
|
|
b1b69ac7
|
2014-01-17T23:20:42
|
|
Implemented EV_CLOSED event for epoll backend (EPOLLRDHUP).
- Added new EV_CLOSED event - detects premature connection close
by clients without the necessity of reading all the pending
data. Does not depend on EV_READ and/or EV_WRITE.
- Added new EV_FEATURE_EARLY_CLOSED feature for epoll.
Must be supported for listening to EV_CLOSED event.
- Added new regression test: test-closed.c
- All regression tests passed (test/regress and test/test.sh)
- strace output of test-closed using EV_CLOSED:
socketpair(PF_LOCAL, SOCK_STREAM, 0, [6, 7]) = 0
sendto(6, "test string\0", 12, 0, NULL, 0) = 12
shutdown(6, SHUT_WR) = 0
epoll_ctl(3, EPOLL_CTL_ADD, 7, {EPOLLRDHUP, {u32=7, u64=7}}) = 0
epoll_wait(3, {{EPOLLRDHUP, {u32=7, u64=7}}}, 32, 3000) = 1
epoll_ctl(3, EPOLL_CTL_MOD, 7, {EPOLLRDHUP, {u32=7, u64=7}}) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...})
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYM...
write(1, "closed_cb: detected connection close "..., 45) = 45
|
|
8697b99c
|
2014-01-14T18:45:11
|
|
Forgotten headers for old nmake project compatability.
|
|
8d4cb35d
|
2014-01-14T18:41:58
|
|
Clean up the README some.
|
|
604b8cc4
|
2014-01-14T18:25:07
|
|
Update README with CMake build instructions.
|
|
d2bc39af
|
2014-01-14T18:24:43
|
|
Rename README to README.md and use markdown to format.
|
|
24d64666
|
2014-01-14T17:53:47
|
|
Fix so that old nmake project still builds.
|
|
fd42e70d
|
2014-01-14T17:37:58
|
|
Set USE_DEBUG=1 on EVENT__ENABLE_VERBOSE_DEBUG
|
|
49ab3632
|
2014-01-14T13:01:31
|
|
Some work on making it possible to simply do add_subdirectory() on the project.
|