Commit graph

24 commits

Author SHA1 Message Date
wiz
a2b1e2cfb1 Update to 1.4.12:
Changes in 1.4.12-stable:
Try to contain degree of failure when running on a win32 version so heavily firewalled that we can't fake a socketpair.
Fix an obscure timing-dependent, allocator-dependent crash in the evdns code.
Use __VA_ARGS__ syntax for varargs macros in event_rpcgen when compiler is not GCC.
Activate fd events in a pseudorandom order with O(N) backends, so that we don't systematically favor low fds (select) or earlier-added fds (poll, win32).
Fix another pair of fencepost bugs in epoll.c.  [Patch from Adam Langley.]
Do not break evdns connections to nameservers when our IP changes.
Set truncated flag correctly in evdns server replies.
Disable strict aliasing with GCC: our code is not compliant with it.

Changes in 1.4.11-stable:
Fix a bug when removing a timeout from the heap. [Patch from Marko Kreen]
Remove the limit on size of HTTP headers by removing static buffers.
Fix a nasty dangling pointer bug in epoll.c that could occur after epoll_recalc(). [Patch from Kevin Springborn]
Distribute Win32-Code/event-config.h, not ./event-config.h

Changes in 1.4.10-stable:
clean up buffered http connection data on reset; reported by Brian O'Kelley
bug fix and potential race condition in signal handling; from Alexander Drozdov
rename the Solaris event ports backend to evport
support compilation on Haiku
fix signal processing when a signal callback delivers a signal; from Alexander Drozdov
const-ify some arguments to evdns functions.
off-by-one error in epoll_recalc; reported by Victor Goya
include Doxyfile in tar ball; from Jeff Garzik
correctly parse queries with encoded \r, \n or + characters
2009-08-16 15:35:03 +00:00
wiz
14499da33d Update to 1.4.9, bump ABI depends as usual for this package.
Changes in 1.4.9-stable:
 o event_add would not return error for some backends; from Dean
 McNamee
 o Clear the timer cache on entering the event loop; reported by
 Victor Chang
 o Only bind the socket on connect when a local address has been
 provided; reported by Alejo Sanchez
 o Allow setting of local port for evhttp connections to support
 millions of connections from a single system; from Richard Jones.
 o Clear the timer cache when leaving the event loop; reported by
 Robin Haberkorn
 o Fix a typo in setting the global event base; reported by lance.
 o Fix a memory leak when reading multi-line headers
 o Fix a memory leak by not running explicit close detection for
 server connections
2009-02-27 22:50:43 +00:00
wiz
e504a189f7 Update to 1.4.8:
Changes in 1.4.8-stable:
 o Match the query in DNS replies to the query in the request; from Vsevolod Stakhov.
 o Fix a merge problem in which name_from_addr returned pointers to the stack; found by Jiang Hong.
 o Do not remove Accept-Encoding header

Changes in 1.4.7-stable:
 o Fix a bug where headers arriving in multiple packets were not parsed; fix from Jiang Hong; test by me.

Changes in 1.4.6-stable:
 o evutil.h now includes <stdarg.h> directly
 o switch all uses of [v]snprintf over to evutil
 o Correct handling of trailing headers in chunked replies; from Scott Lamb.
 o Support multi-line HTTP headers; based on a patch from Moshe Litvin
 o Reject negative Content-Length headers; anonymous bug report
 o Detect CLOCK_MONOTONIC at runtime for evdns; anonymous bug report
 o Fix a bug where deleting signals with the kqueue backend would cause subsequent adds to fail
 o Support multiple events listening on the same signal; make signals regular events that go on the same event queue; problem report by Alexander Drozdov.
 o Deal with evbuffer_read() returning -1 on EINTR|EAGAIN; from Adam Langley.
 o Fix a bug in which the DNS server would incorrectly set the type of a cname reply to a.
 o Fix a bug where setting the timeout on a bufferevent would take not effect if the event was already pending.
 o Fix a memory leak when using signals for some event bases; reported by Alexander Drozdov.
 o Add libevent.vcproj file to distribution to help with Windows build.
 o Fix a problem with epoll() and reinit; problem report by Alexander Drozdov.
 o Fix off-by-one errors in devpoll; from Ian Bell
 o Make event_add not change any state if it fails; reported by Ian Bell.
 o Do not warn on accept when errno is either EAGAIN or EINTR
2008-10-16 21:51:47 +00:00
wiz
0e84c0aa27 Update to 1.4.5:
Changes in 1.4.5-stable:
 o Fix connection keep-alive behavior for HTTP/1.0
 o Fix use of freed memory in event_reinit; pointed out by Peter Postma
 o Constify struct timeval * where possible; pointed out by Forest Wilkinson
 o allow min_heap_erase to be called on removed members; from liusifan.
 o Rename INPUT and OUTPUT to EVRPC_INPUT and EVRPC_OUTPUT.  Retain INPUT/OUTPUT aliases on on-win32 platforms for backwards compatibility.
 o Do not use SO_REUSEADDR when connecting
 o Fix Windows build
 o Fix a bug in event_rpcgen when generated fixed-sized entries

Changes in 1.4.4-stable:
 o Correct the documentation on buffer printf functions.
 o Don't warn on unimplemented epoll_create(): this isn't a problem, just a reason to fall back to poll or select.
 o Correctly handle timeouts larger than 35 minutes on Linux with epoll.c.  This is probably a kernel defect, but we'll have to support old kernels anyway even if it gets fixed.
 o Fix a potential stack corruption bug in tagging on 64-bit CPUs.
 o expose bufferevent_setwatermark via header files and fix high watermark on read
 o fix a bug in bufferevent read water marks and add a test for them
 o introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents
 o use libevent's internal timercmp on all platforms, to avoid bugs on old platforms where timercmp(a,b,<=) is buggy.
 o reduce system calls for getting current time by caching it.
 o fix evhttp_bind_socket() so that multiple sockets can be bound by the same http server.
 o Build test directory correctly with CPPFLAGS set.
 o Fix build under Visual C++ 2005.
 o Expose evhttp_accept_socket() API.
 o Merge windows gettimeofday() replacement into a new evutil_gettimeofday() function.
 o Fix autoconf script behavior on IRIX.
 o Make sure winsock2.h include always comes before windows.h include.
2008-09-06 16:30:43 +00:00
tnn
d90107491a Update to libevent-1.4.3.
1.4.3-stable:
1.4.2-rc:
* make Solaris event subsystems more reliable; from W.C.A. Wijngaards
* event_base_get_method(); from Springande Ulv
* fix HTTP/1.1 chunk formatting; from "propanbutan"
* allow 64-bit content lengths; from Scott Lamb
* and more...
1.4.1-beta:
* fixed some memory leaks and other misc cleanup; from Christopher Layne,
  Scott Lamb and Charles Kerr
* introduced event_reinit to deal with fork()
* improved efficiency of generated RPC structure
* performance improvements to Win32 backend
* and many more...
1.4.0-beta:
* a new RPC subsytem for writing distributed clients and servers
* almost everything is documented via Doxygen now
* many fixes and improvements to evdns and evhttp
* libevent now builds two additional libraries: libevent_core (containing only
  the event core) and libevent_extras (contained evdns, evhttp and evrpc)
* performance improvements due to using a heap instead of red-black trees for
  timeouts
* Solaris' event ports are better supported
1.3e:
* Fix compilation on Solaris; from Magne Mahre
* Add a "Date" header to HTTP responses when it's missing, as required by
  HTTP 1.1. Original Patch from Ralph Moritz.
* Fix a memory leak in which failed HTTP connections whould not free the
  request object.
* Fix a memory leak in the DNS server.
* Handle NULL timeouts correctly on Solaris; from Trond Norbye
* Recalculate pending events properly when reallocating event array on
  Solaris; from Trond Norbye
2008-04-22 17:16:54 +00:00
dmcmahill
31c0c13518 One more try. event.h gets installed and used by other programs so
we can't use config.h in it.  Instead use the substitution framework
which was already in place for making some other SunOS changes.
2007-10-04 12:28:13 +00:00
dmcmahill
de85d850fd SunOS-5.9 doesn't have stdint.h. There is already a configure test for this
so use the results.
2007-10-04 06:06:19 +00:00
tnn
9fbb366eaf Update to libevent-1.3d. ChangeLog is not available but from the homepage:
libevent-1.3d:
Bug fixes in the HTTP layer.

libevent-1.3c:
Small bug and portability fixes.

Worth mentioning is that patch-ab and patch-ac were applied upstream.
As usual with libevent, this breaks the ABI due to .so naming, so a
small revbump sweep will be needed.
2007-08-16 08:59:43 +00:00
joerg
fcbae5fcca Fix build on AIX: event.c needs time.h to get CLOCK_REALTIME and
the select implementation needs sys/select.h. The latter should be
detected by autoconf, but can break e.g. older DragonFly.
2007-08-01 16:57:15 +00:00
tnn
0286e59545 Update to libevent-1.3b.
1.3b:
    * Fixes when using signals in multi-threaded applications from Scott Lamb.
    * Other small bug fixes.
1.3a:
    * Small bug and performances fixes to evhttp layer.
1.3:
    * DNS Server from Adam Langley and Nick Mathewson
    * Chunked transfer encoding for HTTP/1.1 from Dug Song.
    * DNS DDoS fix; bug report from Jon Oberheide.
    * Various small improvements.
2007-04-25 16:38:37 +00:00
grant
3cdb6c1ce7 improvements to last:
- configure script already has provision for different compiler inline
  directives, just not every file was using it.
- u_intXX_t types need to be fixed in installed event.h too.
2007-02-27 11:11:17 +00:00
grant
5a6a5f4e21 make this build on Solaris with sunpro. 2007-02-27 10:38:45 +00:00
xtraeme
39efdc765d Update to 1.2a.
1.2a:

* Made HTTP support more usable
* Various portability fixes.

1.2:

* Support for non-blocking DNS resolution; from Adam Langley
  and Nick Mathewson.
* Support for lightweight HTTP clients and servers.
* Support for Sun's Event Ports from David Pacheco of Sun.
2007-02-08 17:06:28 +00:00
tv
1005a931cd Update to 1.1b. No ChangeLog; website states:
* Bug fixes - thanks to Nick Mathewson for helping.

(However, anecdotal references in Tor 0.1.2.1's doc seem to indicate that
1.1b fixes more kqueue problems on Darwin/OSX.)
2006-08-29 14:01:51 +00:00
wiz
bb9f8625ff Update to 1.1a:
* Minor reliability fixes.
2005-06-25 21:02:54 +00:00
wiz
4b856a784b Update to 1.1:
# libevent-1.1.tar.gz - Release 2005-05-14

    * Performance improvements from Nick Mathewson.
    * Work around for kqueue bug in Mac OS X 10.4.

# libevent-1.0e.tar.gz - Release 2005-04-26

    * Important fix to bug in poll implementation introduced in 1.0d.

# libevent-1.0d.tar.gz - Release 2005-04-22

    * Several minor bug fixes and building of shared libraries.
2005-05-19 15:07:22 +00:00
wiz
55c808802d Update to 1.0c:
* Bug fixes for Windows, Solaris and improved logging interface.
2005-04-04 11:23:03 +00:00
wiz
572335dfd8 Update to 1.0b:
Bug fixes for backwards compatibility.
2005-02-28 12:44:14 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
wiz
4184fc7518 Update to 1.0a:
* Bug fixes for threaded applications. Thanks to Andrew Danforth.
2005-01-05 14:13:22 +00:00
wiz
f0f0184dea Update to 1.0, and set TEST_TARGET.
Changes in 1.0:
* Support for multi-threaded applications - experimental.
* Event priorities with priority queues.
2004-12-26 01:20:36 +00:00
wiz
385d4ac5b1 Update to 0.9:
This version includes support for /dev/poll so that libevent now supports all
fast event mechanisms. It also improves the portability across operating
systems.
2004-08-15 13:17:13 +00:00
xtraeme
5f009fd358 Update libevent to 0.8
Changes:

0.8:
    * Buffered event abstraction to make writing network applications
      easier; see libio for the predecessor of this idea.
0.7c:
    * Bug fixes in Linux epoll and poll support.

0.7b:
    * 3-clause BSD-license.
    * Experimental support for real-time signals. Likely to be buggy.
    * Experimental support for Windows from Mike Davis.

0.7:
    *  Requires level-triggered epoll patch for Linux epoll support.
2004-04-21 10:37:07 +00:00
uebayasi
f16dfe1d7f Initial import of libevent-0.6.
The libevent API provides a mechanism to execute a callback function when a
specific event occurs on a file descriptor or after a timeout has been
reached.

libevent is meant to replace the asynchronous event loop found in event
driven network servers. An application just needs to call event_dispatch()
and can then add or remove events dynamically without having to change the
event loop.

Currently, libevent supports kqueue(2) and select(2). Support for poll(2)
and /dev/poll is planned. The internal event mechanism is completely
independent of the exposed event API, and a simple update of libevent can
provide this new functionality without having to redesign the server
applications.
2002-09-19 01:51:24 +00:00