Permalink
Browse files

Sync levent

  • Loading branch information...
1 parent 32737d8 commit 0b76f8260169ce0cf2e266f04c19ea09d9df8d64 @jedisct1 committed Nov 21, 2010
Showing with 2,900 additions and 762 deletions.
  1. +61 −9 src/levent2/ChangeLog
  2. +6 −5 src/levent2/Makefile.am
  3. +3 −0 src/levent2/README
  4. +57 −41 src/levent2/buffer.c
  5. +6 −2 src/levent2/buffer_iocp.c
  6. +5 −5 src/levent2/bufferevent-internal.h
  7. +6 −0 src/levent2/bufferevent.c
  8. +5 −2 src/levent2/bufferevent_async.c
  9. +3 −0 src/levent2/bufferevent_filter.c
  10. +25 −2 src/levent2/bufferevent_openssl.c
  11. +21 −16 src/levent2/bufferevent_ratelim.c
  12. +5 −5 src/levent2/bufferevent_sock.c
  13. +35 −26 src/levent2/epoll.c
  14. +4 −2 src/levent2/evbuffer-internal.h
  15. +62 −27 src/levent2/evdns.c
  16. +1 −1 src/levent2/event-internal.h
  17. +7 −7 src/levent2/event.c
  18. +5 −0 src/levent2/event_rpcgen.py
  19. +6 −4 src/levent2/event_tagging.c
  20. +2 −2 src/levent2/evmap.c
  21. +1 −1 src/levent2/evrpc.c
  22. +9 −1 src/levent2/evthread_pthread.c
  23. +15 −7 src/levent2/evutil.c
  24. +4 −1 src/levent2/evutil_rand.c
  25. +22 −9 src/levent2/http-internal.h
  26. +882 −100 src/levent2/http.c
  27. +2 −2 src/levent2/include/event2/buffer.h
  28. +14 −2 src/levent2/include/event2/bufferevent.h
  29. +253 −18 src/levent2/include/event2/http.h
  30. +11 −2 src/levent2/include/event2/listener.h
  31. +6 −0 src/levent2/include/event2/util.h
  32. +65 −10 src/levent2/listener.c
  33. +5 −5 src/levent2/ratelim-internal.h
  34. +8 −8 src/levent2/signal.c
  35. +13 −14 src/levent2/test/bench_http.c
  36. +81 −8 src/levent2/test/regress.c
  37. +3 −3 src/levent2/test/regress.h
  38. +7 −6 src/levent2/test/regress_buffer.c
  39. +1 −1 src/levent2/test/regress_bufferevent.c
  40. +1 −1 src/levent2/test/regress_et.c
  41. +1,092 −373 src/levent2/test/regress_http.c
  42. +3 −3 src/levent2/test/regress_main.c
  43. +11 −1 src/levent2/test/regress_thread.c
  44. +3 −3 src/levent2/test/regress_util.c
  45. +1 −1 src/levent2/test/test-changelist.c
  46. +2 −2 src/levent2/test/test-eof.c
  47. +2 −2 src/levent2/test/test-weof.c
  48. +28 −11 src/levent2/test/tinytest_macros.h
  49. +11 −11 src/levent2/win32select.c
  50. +14 −0 src/query_parser.h
  51. +5 −0 src/utils.h
View
@@ -1,9 +1,55 @@
-Changes in 2.0.8-(rc/stable/????):
- [see the Git log for now.]
+Changes in 2.0.9-(rc/stable) (?? Nov/Dec 2010):
+ [Not released yet; see the git log for now.]
-Changes in 2.0.7-rc:
+Changes in 2.0.8-rc (14 Oct 2010):
+ [Autogenerated from the Git log, sorted and cleaned by hand.]
+NEW APIS
+ o Add error callback to evconnlistener (c4be8d8 Simon Perreault)
+ o Add a LEV_OPT_THREADSAFE option for threadsafe evconnlisteners (127d4f2)
+
+CHANGED BEHAVIOR
+ o Correct logic on disabling underlying bufferevents when disabling a filter (ac27eb8)
+
+BUGFIXES
+ o Obey enabled status when unsuspending (040a019 Simon Perreault)
+ o Warn when using the error-prone EV_SIGNAL interface in an error-prone way. Also, fix a couple of race conditions in signal.c (720bd93)
+ O Make default signal backend fully threadsafe (95a7d41)
+ o Put internal events at highest priority (90651b3)
+ o Fix warnings in the main codebase flagged by -Wsigned-compare (9c8db0, 5e4bafb, 5c214a, 6be589a, e06f514)
+ o Fix compile in kqueue.c (b395392 Sebastian Hahn)
+ o Do not search outside of the system directory for windows DLLs (d49b5e3)
+ o Fix a spurious-call bug on epoll.c (0faaee0)
+ o Send a shutdown(SHUT_WR) before closing an http connection (e0fd870 Christopher Davis)
+ o Fix warnings on mingw with gcc 4.5 (5b7a370)
+ o Fix an EINVAL on evbuffer_write_iovec on OpenSolaris. (fdc640b)
+ o Fix allocation error for IOCP listeners. Probably harmless, since struct event is big (481ef92)
+ o Make iocp/listener/error work; don't accept again if lev is disabled. (62b429a Christopher Davis)
+ o Handle rate-limiting for reading on OpenSSL bufferevents correctly. (819b171)
+ o Fix serious bugs in per-bufferevent rate-limiting code (34d64f8)
+ o Avoid spurious reads from just-created open openssl bufferevents (223ee40)
+ o Fix a case where an ssl bufferevent with CLOSE_ON_FREE didn't close its fd (93bb7d8)
+ o The corrected bufferevent filter semantics let us fix our openssl tests (34331e4)
+
+TESTING
+ o Make SSL tests cover enabling/disabling EV_READ. (a5ce9ad)
+ o Bump to the latest version of tinytest (f0bd83e)
+ o Unit tests for listener error callbacks (045eef4)
+ o New unit test for ssl bufferevents starting with connected SSLs. (02f6259)
+
+DEBUGGABILITY
+ o Make debugging output for epoll backend more comprehensive (ec2b05e)
+ o Make event.c debugging messages report fds (e119899)
+ o Make the --enable-gcc-warnings option include signed comparison warnings (d3b096c)
+
+DEADCODE REMOVAL
+ o Remove the now-useless evsig_caught and evsig_process (4858b79)
+ o Remove event_base.evsigbase; nothing used it. (38d0960)
+
+
+
+Changes in 2.0.7-rc (9 Sep 2010):
[Autogenerated from the Git log, sorted and cleaned by hand.]
NEW APIS
o Expose a evdns_base_nameserver_sockaddr_add() function to add a nameserver by sockaddr (1952143)
@@ -66,7 +112,8 @@ DOCUMENTATION
o Update the whatsnew-2.0.txt document (4991669)
-Changes in 2.0.6-rc:
+
+Changes in 2.0.6-rc (6 Aug 2010):
[Autogenerated from the Git log, sorted by hand.]
DOCUMENTATION
o Document a change in the semantics of event_get_struct_event_size() (e21f5d1)
@@ -153,7 +200,8 @@ INTERNALS, PERFORMANCE, AND CODE CLEANUPS
o Turn our socketpair() replacement into its own function (57b30cd)
-Changes in 2.0.5-beta:
+
+Changes in 2.0.5-beta (10 May 2010):
[Autogenerated from the Git log, sorted by hand.]
DOCUMENTATION
o Update all our copyright notices to say "2010" (17efc1c)
@@ -288,7 +336,7 @@ INTERNALS, PERFORMANCE, AND AND CODE CLEANUPS
-Changes in 2.0.4-alpha:
+Changes in 2.0.4-alpha (28 Feb 2010):
[Autogenerated from the Git log, sorted by hand.]
DOCUMENTATION
o Add stub header for 2.0.4-alpha changelog. (94d0065)
@@ -455,7 +503,7 @@ INTERNALS AND CODE CLEANUPS
-Changes in 2.0.3-alpha:
+Changes in 2.0.3-alpha (20 Nov 2009):
o Add a new code to support SSL/TLS on bufferevents, using the OpenSSL library (where available).
o Fix a bug where we didn't allocate enough memory in event_get_supported_methods().
o Avoid segfault during failed allocation of locked evdns_base. (Found by Rocco Carbone.)
@@ -512,7 +560,9 @@ Changes in 2.0.3-alpha:
o Fix a race condition in the pthreads test case; found by Nick Mathewson
o Remove most calls to event_err() in http and deal with memory errors instead
-Changes in 2.0.2-alpha:
+
+
+Changes in 2.0.2-alpha (25 Jul 2009):
o Add a new flag to bufferevents to make all callbacks automatically deferred.
o Make evdns functionality locked, and automatically defer dns callbacks.
o Fix a possible free(NULL) when freeing an event_base with no signals.
@@ -560,7 +610,9 @@ Changes in 2.0.2-alpha:
o event_get_supported_methods() now lists methods that have been disabled with the EVENT_NO* environment options.
o Rename encode_int[64] to evtag_encode_int[64] to avoid polluting the global namespace. The old method names are still available as macros in event2/tag_compat.h.
-Changes in 2.0.1-alpha:
+
+
+Changes in 2.0.1-alpha (17 Apr 2009):
o free minheap on event_base_free(); from Christopher Layne
o debug cleanups in signal.c; from Christopher Layne
o provide event_base_new() that does not set the current_base global
@@ -32,7 +32,8 @@ RELEASE = -release 2.0
# If the ABI changed and it isn't backward-compatible:
# Return (current+1:0:0)
#
-# Once an RC is out, DO NOT MAKE ANY ABI-BREAKING CHANGES IN THAT SERIES.
+# Once an RC is out, DO NOT MAKE ANY ABI-BREAKING CHANGES IN THAT SERIES
+# UNLESS YOU REALLY REALLY HAVE TO.
VERSION_INFO = 4:0:2
# History: RELEASE VERSION_INFO
@@ -45,13 +46,13 @@ VERSION_INFO = 4:0:2
# 2.0.7-rc -- 2.0 3:0:1
# 2.0.8-rc -- 2.0 4:0:2
# Planned:
-# 2.0.9-stable-- 2.0 4:1:2 (Assuming no ABI change)
+# 2.0.9-stable-- 2.0 5:0:0 (ABI changed slightly)
#
-# If Libevent 2.1.1 makes 'struct event' etc opaque in the headers:
-# 2.1.1-alpha -- 2.1 1:0:0
-# If Libevent 2.1.1 does not makes 'struct event' opaque in the headers:
+#
+# For Libevent 2.1:
# 2.1.1-alpha -- 2.1 1:0:0
+
# ABI version history for this package effectively restarts every time
# we change RELEASE. Version 1.4.x had RELEASE of 1.4.
#
View
@@ -88,6 +88,7 @@ fixing bugs:
Shie Erlich
Alexander von Gernler
Artur Grabowski
+ Michael Herf
Sebastian Hahn
Aaron Hopkins
Tani Hosokawa
@@ -116,6 +117,7 @@ fixing bugs:
Phil Oleson
Dave Pacheco
Tassilo von Parseval
+ Simon Perreault
Pierre Phaneuf
Ryan Phillips
Jon Poland
@@ -127,6 +129,7 @@ fixing bugs:
Ferenc Szalai
Dug Song
Brodie Thiesfield
+ Jason Toffaletti
Zack Weinberg
Taral
propanbutan
Oops, something went wrong.

0 comments on commit 0b76f82

Please sign in to comment.