Log

Author Commit Date CI Message
Nick Mathewson bf7a0ff2 2013-01-11T16:37:34 When EWOULDBLOCK is not EAGAIN, treat it as equivalent to it Acording to http://stackoverflow.com/questions/7003234/which-systems-define-eagain-and-ewouldblock-as-different-values there are some older unixes that distinguish these error.s
Sebastian Hahn b452a434 2012-12-31T18:29:56 Fix harmless clang enum warning
Sebastian Hahn 9e8cdf3d 2012-09-21T08:38:56 Fix comment to refer to sample/include.am correctly
Nick Mathewson 21c962e0 2012-12-20T11:50:23 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 0a822a64 2012-12-20T11:48:05 Avoid double-close on getsockname error in evutil_ersatz_socketpair Found by coverity; CID 739726
Nick Mathewson 69db2610 2012-12-20T11:47:09 Avoid leaking fds on evconnlistener with no callback set There's no way to retrieve an fd from an evconnlistener whose callback has been cleared, so we had better close any such fd. Found by coverity; CID 739725.
Nick Mathewson 49905ac3 2012-12-11T12:53:09 Fix cut-and-paste err in whatsnew-2.1
Patrick Pelletier 809586a9 2012-11-28T00:20:13 minor documentation typos
Nick Mathewson 5cc7806c 2012-12-04T12:32:26 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 7e45739e 2012-12-04T12:01:25 Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled Reported by Xiuqiang Jiang
Nick Mathewson f5b3ff20 2012-11-19T10:58:04 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson f7d92c63 2012-11-19T10:56:16 Increment version to 2.0.21-stable-dev
Nick Mathewson 40b95ae2 2012-11-19T10:53:25 Increment version to 2.1.2-alpha-dev
Nick Mathewson c1420690 2012-11-19T09:07:13 Fix a bug when running "make verify" out-of-tree
Nick Mathewson dc0287c4 2012-11-18T19:32:41 Clean up and clarify a little more documentation
Nick Mathewson 060c409e 2012-11-18T19:32:11 Make the argument to bufferevent_get_priority const
Nick Mathewson 96584866 2012-11-18T18:59:19 Avoid defining recommended functions in terms of deprecated ones
Nick Mathewson 3db0737a 2012-11-18T11:25:13 Update "what's new in Libevent 2.1"
Nick Mathewson ffdad1dc 2012-11-18T10:53:52 Bump versions to 2.1.2-alpha
Nick Mathewson 143cb613 2012-11-18T10:53:26 Update changelog for 2.1.2-alpha
Nick Mathewson 5af4caa9 2012-11-18T02:01:26 Update ChangeLog-2.0
Nick Mathewson 15f989ad 2012-11-18T01:44:09 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 173d7823 2012-11-18T01:40:33 Fix a gcc warning in rtrim test
Nick Mathewson f2703b2e 2012-11-18T01:40:13 Fix a warning when building without threading.
Nick Mathewson 64177777 2012-11-18T01:39:10 Increment libtool version for 2.0.21 too
Nick Mathewson 0ee10fdf 2012-11-18T01:38:07 Increment version to 2.0.21-stable
Nick Mathewson 1c5517c9 2012-11-18T01:36:33 Changelog for 2.0.21-stable
Nick Mathewson f38e0788 2012-11-18T01:36:03 Make ssl version check in unit tests work
Nick Mathewson 9dee36bc 2012-11-16T18:34:43 Make bufferevent_set_timeouts(bev, NULL, NULL) have plausible semantics
Nick Mathewson e3b2e086 2012-11-16T16:15:03 Add an event_remove_timer() to remove timer on an event without deleting it
Nick Mathewson 5a9a0141 2012-11-16T16:17:07 Fix a couple of compile warnings in the unit tests
Nick Mathewson 1fda4928 2012-11-16T12:06:40 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson e3cccf38 2012-11-16T11:55:27 Avoid crash when event_pending() called with no event_base set on event Instead, give a warning and return 0. Reported by Antony Dovgal on github as https://github.com/libevent/libevent/issues/19
Nick Mathewson 7afbd602 2012-11-16T11:51:42 Use EVUTIL_SOCKET_ERROR() wrapper to save/restor errno in evhttp_connection_fail_
Nick Mathewson 29fea33a 2012-11-16T11:49:46 Merge remote-tracking branch 'ppelleti/preserve-errno'
Jay R. Wren 4f4d0c93 2012-10-10T13:16:02 add evhttp_request_get_response_code_line This is needed to be able to read the response code line especially when acting as an http client using evhttp_make_request. (patched by nickm to make the return value const)
Nick Mathewson 61b93af5 2012-11-16T11:41:59 Move evutil_rtrim_lws_ to evutil.c where it belongs
Nick Mathewson c6ff3812 2012-11-16T11:38:53 Remove internal ws from multiline http headers correctly According to RFC2616: All linear white space, including folding, has the same semantics as SP. A recipient MAY replace any linear white space with a single SP before interpreting the field value or forwarding the message downstream.
Nick Mathewson ac425197 2012-11-16T11:29:34 Remove trailing tabs in HTTP headers as well.
Nick Mathewson aa59d805 2012-11-16T11:13:29 Clean up rtrim implementation If I understand the C standard correctly, you can't actually point at a position immediately _before_ the start of an object; only at the position immediately after. According to J.2 in the standard, in its big list of undefined behavior: "The behavior is undefined in the following circumstances: ... — Addition or subtraction of a pointer into, or just beyond, an array object and an integer type produces a result that does not point into, or just beyond, the same array object (6.5.6)." So we've got to fix rtrim to not do that. Also, make it unit tested, and give it an evutil_*_ name.
Artem Germanov 370a2c02 2012-05-20T21:08:52 ignore LWS after field-content in headers
Nick Mathewson c181399e 2012-11-16T10:53:52 Merge remote-tracking branch 'azat/fix-typo-evets'
Nick Mathewson 30512f43 2012-11-16T10:51:26 Merge remote-tracking branch 'ppelleti/tiny-doc-typos'
Nick Mathewson d70af27d 2012-11-16T10:48:13 Use correct openssl libs and includes in pkgconfig file Previously we were saying -lssl -lcrypto unconditionally when we should have been saying OPENSSL_LIBS. Based on a patch from Patrick Pelletier
Nick Mathewson 09a8d23a 2012-11-16T10:44:57 Merge remote-tracking branch 'origin/patches-2.0'
Patrick Pelletier ac356502 2012-11-07T19:48:22 remove stray 'x' so print_err will compile when uncommented
Nick Mathewson 3f27db9d 2012-11-16T07:42:17 Merge pull request #27 from pallas/master Fix event_dlist definition when sys/queue not included
Nick Mathewson efb644ed 2012-11-16T10:29:37 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: test/rpcgen_wrapper.sh
Nick Mathewson f3009e48 2012-11-16T10:28:19 Make rpcgen_wrapper.sh work on systems without a "python2" binary
Nick Mathewson 4343edf3 2012-11-16T10:17:34 Add a unit test in which an event is created with event_base_once() but never fires
Nick Mathewson 0a396a02 2012-11-16T10:13:15 Merge branch '21_event_cleanup_v3'
Nick Mathewson c17dd591 2011-07-15T11:10:54 Free dangling event_once objects on event_base_free() This patch makes us keep event_once objects in a doubly linked list so we can free any once that haven't triggered when we call event_base_free().
Nick Mathewson 1f5a48d1 2012-11-15T11:45:12 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson ac009f92 2012-11-15T11:43:20 Warn when openssl version in unit test mismatches compiled version.
Nick Mathewson c2f30863 2012-11-15T11:42:14 Fix renegotiation test to work around openssl 1.0.1 bug There's a bug in openssl 1.0.1 where TLS1.1 and TLS1.2 can't renegotiate with themselves. When testing renegotiation with OpenSSL >=1.0.1 and <1.0.1d, disable those protocols.
Nick Mathewson 1d9d5110 2012-11-15T11:40:33 Use the same CFLAGS for openssl when building unit tests as with libevent
Patrick Pelletier 36d0ee5c 2012-11-13T21:22:39 preserve errno in evhttp_connection_fail_ for inspection by the callback
Derrick Pallas 81b6209e 2012-11-10T11:22:15 Fix event_dlist definition when sys/queue not included This header adds TAILQ_HEAD and TAILQ_ENTRY if sys/queue is not included. There is a similar macro that adds LIST_ENTRY but not LIST_HEAD, even though LIST_HEAD is used later. This change pulls in the correct definition (swiped from sys/queue) for LIST_HEAD and cleans up the one spot where it is used. The change can be tested by adding #undef LIST_HEAD #undef LIST_ENTRY right before the #ifndef checks and removing #define EVENT_DEFINED_LISTENTRY_ #define EVENT_DEFINED_LISTHEAD_ so that the macros persist later.
Nick Mathewson 64051b90 2012-11-06T17:42:46 Clean up unit test for evbuffer_file_segment_add_cleanup_cb a little
yangacer e9f8feba 2012-11-06T17:37:28 Add a new callback to get called on evbuffer_file_segment free
Nick Mathewson f9182d72 2012-11-02T11:46:14 Merge remote-tracking branch 'github/20_win64_compilation' into 21_win64_compilation Conflicts: http.c signal.c
Nick Mathewson 62bd2c44 2012-11-02T11:44:29 Fix compilation on mingw64 with -DUSE_DEBUG
Nick Mathewson 56e48c10 2012-11-02T10:58:02 Fix a few mingw64 incompatibilities introduced since 2.0
Nick Mathewson 2e6a9850 2012-11-01T18:12:07 Merge remote-tracking branch 'github/20_win64_compilation' into 21_win64_compilation Conflicts: event.c http.c sample/event-read-fifo.c test/regress_bufferevent.c
Nick Mathewson 6810908a 2012-11-01T18:05:27 Fix some warnings found cross-compiling with mingw32
Nick Mathewson 94866c27 2012-11-01T17:38:34 Compile without warnings on mingw64 This is mostly a matter of catching cases where we were still assuming that evutil_socket_t could be used as an int.
Nick Mathewson b738ee18 2012-11-01T10:19:01 Merge remote-tracking branch 'rosslagerwall/python2'
Nick Mathewson 32ed1102 2012-10-26T19:37:00 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 2479d964 2012-10-26T19:36:44 Merge remote-tracking branch 'rosslagerwall/python2-2.0' into patches-2.0
Nick Mathewson d5318b66 2012-10-26T19:34:47 Merge remote-tracking branch 'origin/patches-2.0'
Juan Pablo Fernandez cb853ea3 2012-10-26T19:33:31 Close IOCP listener socket on free when LEV_OPT_CLOSE_ON_FREE is set
Nick Mathewson cda69d0d 2012-10-24T22:55:17 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: bufferevent_openssl.c
Nick Mathewson 1ff2c249 2012-10-24T22:48:59 Merge remote-tracking branch 'public/20_bev_timeout_semantics' into patches-2.0
Patrick Pelletier 09098f70 2012-10-23T22:09:45 fix a few trivial documentation typos
Ross Lagerwall 0eb01099 2012-10-23T13:30:58 Use python2 rather than python python may refer to either python2 or python3 so rather by explicit by using python2. See PEP 394 - http://www.python.org/dev/peps/pep-0394/ for more details.
Ross Lagerwall 4b5f32a5 2012-10-23T13:26:44 Use python2 rather than python python may refer to either python2 or python3 so rather by explicit by using python2. See PEP 394 - http://www.python.org/dev/peps/pep-0394/ for more details.
Nick Mathewson f2050e79 2012-09-22T19:21:21 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: bufferevent_openssl.c
Joachim Bauch 1acf2ebc 2012-09-06T10:01:10 No need to reserve space if reading is suspended. Conflicts: bufferevent_openssl.c
Joachim Bauch f719b8a9 2012-09-03T21:42:15 Stop looping in "consider_reading" if reading is suspended.
Azat Khuzhin 05f1aca5 2012-09-18T15:17:29 Fix typo : events instead of evets
Nick Mathewson 8827dbc3 2012-09-12T20:19:22 Merge remote-tracking branch 'origin/patches-2.0'
George Danchev f2bff75e 2012-09-12T20:12:03 FIx another memleak on OOM in evdns
George Danchev 73e85dd0 2012-09-12T20:11:12 Avoid a memory-leak on OOM in evdns.
Nick Mathewson ffe1643b 2012-09-10T13:43:26 Add missing return value in event_base_foreach_event Fix for github issue nmathewson/Libevent #65 Found by Joachim Bauch
Nick Mathewson 576b29f2 2012-09-07T15:53:02 Don't discard SSL read event when timeout and read come close together
Nick Mathewson 232055ef 2012-09-07T09:58:24 Tweak patch for event_base_foreach_event() * Fix whitespace * Explain return value from callback function * Reinstate return value so that caller can tell whether forech exited early. * Rename event_base_foreach_event_() to event_base_foreach_event_nolock_(). * Use event_base_foreach_event_cb_fn typedef in more places * Be more dire about undefined behavior.
Roman Puls 84fd6d75 2012-09-07T09:47:50 Expose event_base_foreach_event() as a public API.
Nick Mathewson e8faa2c7 2012-09-04T07:58:38 Merge pull request #61 from rosslagerwall/rename-configure Rename configure.in to configure.ac.
Joachim Bauch b7577868 2012-09-03T17:49:15 Prevent reference leak of bufferevent if getaddrinfo fails.
Ross Lagerwall b3fea673 2012-09-03T08:37:25 Rename configure.in to configure.ac. ".ac" is the preferred extension.
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'