]> granicus.if.org Git - libevent/log
libevent
16 years agomore accessors for evhttp_request
Niels Provos [Sun, 11 May 2008 16:22:35 +0000 (16:22 +0000)]
more accessors for evhttp_request

svn:r807

16 years agodispatch the callbacks against the decoded uri to be more http compliant
Niels Provos [Sat, 10 May 2008 07:32:05 +0000 (07:32 +0000)]
dispatch the callbacks against the decoded uri to be more http compliant

svn:r806

16 years agoevhttp_request_uri -> evhttp_request_get_uri
Niels Provos [Sat, 10 May 2008 06:32:53 +0000 (06:32 +0000)]
evhttp_request_uri -> evhttp_request_get_uri

svn:r805

16 years agoreplace fnmatch with homegrown function
Niels Provos [Sat, 10 May 2008 05:58:17 +0000 (05:58 +0000)]
replace fnmatch with homegrown function

svn:r804

16 years ago r19667@catbus: nickm | 2008-05-08 23:49:26 -0400
Nick Mathewson [Fri, 9 May 2008 04:00:17 +0000 (04:00 +0000)]
 r19667@catbus:  nickm | 2008-05-08 23:49:26 -0400
 fwd-port: Always include winsock2.h before windows.h.  Apparently some SDKs need this.

svn:r803

16 years ago r15555@tombo: nickm | 2008-05-08 19:56:51 -0400
Nick Mathewson [Thu, 8 May 2008 23:57:31 +0000 (23:57 +0000)]
 r15555@tombo:  nickm | 2008-05-08 19:56:51 -0400
 fwd-port The IRIX compiler thinks #error means warn.  Fix configure.in to tolerate this.

svn:r801

16 years ago r15551@tombo: nickm | 2008-05-08 14:49:20 -0400
Nick Mathewson [Thu, 8 May 2008 22:51:39 +0000 (22:51 +0000)]
 r15551@tombo:  nickm | 2008-05-08 14:49:20 -0400
 Use _get_ convention for new accessor functions.  (These are all new ones as of 2.0, I believe).

svn:r799

16 years ago r15549@tombo: nickm | 2008-05-08 11:53:11 -0400
Nick Mathewson [Thu, 8 May 2008 15:55:09 +0000 (15:55 +0000)]
 r15549@tombo:  nickm | 2008-05-08 11:53:11 -0400
 Make new http headers include minimal parts of event2/ tree; make old evhttp.h incldue event.h, since the old one did too.

svn:r798

16 years agosvn:r797
Nick Mathewson [Thu, 8 May 2008 15:38:31 +0000 (15:38 +0000)]
svn:r797

16 years ago r19656@catbus: nickm | 2008-05-08 10:25:08 -0400
Nick Mathewson [Thu, 8 May 2008 14:25:44 +0000 (14:25 +0000)]
 r19656@catbus:  nickm | 2008-05-08 10:25:08 -0400
 forward-port: Remove #include "misc.h"s.

svn:r795

16 years ago r19649@catbus: nickm | 2008-05-08 10:00:14 -0400
Nick Mathewson [Thu, 8 May 2008 14:06:33 +0000 (14:06 +0000)]
 r19649@catbus:  nickm | 2008-05-08 10:00:14 -0400
 Replace gettimeofday() usage with a new evutil_gettimeofday().  This removes all previous need for win32-code/misc.[ch]

svn:r792

16 years agodeprecate timeout_* event functions by moving them to event_compat.h
Niels Provos [Thu, 8 May 2008 07:00:16 +0000 (07:00 +0000)]
deprecate timeout_* event functions by moving them to event_compat.h

svn:r791

16 years agomigrate evhttp to event2; accessors are still missing
Niels Provos [Thu, 8 May 2008 06:15:04 +0000 (06:15 +0000)]
migrate evhttp to event2; accessors are still missing

svn:r790

16 years agoevent_base_new_with_config() and related methods
Niels Provos [Thu, 8 May 2008 05:56:20 +0000 (05:56 +0000)]
event_base_new_with_config() and related methods

svn:r789

16 years agoprovide an api for retrieving the supported event mechanisms
Niels Provos [Thu, 8 May 2008 05:33:15 +0000 (05:33 +0000)]
provide an api for retrieving the supported event mechanisms

svn:r788

16 years ago r19641@catbus: nickm | 2008-05-07 17:51:26 -0400
Nick Mathewson [Wed, 7 May 2008 21:51:49 +0000 (21:51 +0000)]
 r19641@catbus:  nickm | 2008-05-07 17:51:26 -0400
 Forward-port: Fix win32 vc-2005 build.

svn:r786

16 years ago r19634@catbus: nickm | 2008-05-07 16:10:37 -0400
Nick Mathewson [Wed, 7 May 2008 20:29:33 +0000 (20:29 +0000)]
 r19634@catbus:  nickm | 2008-05-07 16:10:37 -0400
 the C syntax is fn(void), not fn().

svn:r784

16 years ago r19633@catbus: nickm | 2008-05-07 16:10:00 -0400
Nick Mathewson [Wed, 7 May 2008 20:29:11 +0000 (20:29 +0000)]
 r19633@catbus:  nickm | 2008-05-07 16:10:00 -0400
 Fix bug 1958901: stop overriding CPPFLAGS in test directory.

svn:r783

16 years agotest virtual hosts
Niels Provos [Wed, 7 May 2008 01:52:24 +0000 (01:52 +0000)]
test virtual hosts

svn:r780

16 years ago r19610@catbus: nickm | 2008-05-05 15:18:52 -0400
Nick Mathewson [Mon, 5 May 2008 19:19:47 +0000 (19:19 +0000)]
 r19610@catbus:  nickm | 2008-05-05 15:18:52 -0400
 Switch strcmp() tests in test_evbuffer() to use memcmp instead.  Previously they broke on my Linux box.

svn:r779

16 years ago r19609@catbus: nickm | 2008-05-05 15:16:52 -0400
Nick Mathewson [Mon, 5 May 2008 19:19:08 +0000 (19:19 +0000)]
 r19609@catbus:  nickm | 2008-05-05 15:16:52 -0400
 Reename evdns-internal struct request to evdns_request, and expose the name. switch new evdns resolve APIs to return evdns_request*.  This is a prereq to making evdns requests cancelable.

svn:r778

16 years ago r19607@catbus: nickm | 2008-05-05 13:49:44 -0400
Nick Mathewson [Mon, 5 May 2008 17:49:52 +0000 (17:49 +0000)]
 r19607@catbus:  nickm | 2008-05-05 13:49:44 -0400
 Hack to make sure that there is always a working fast EVENT_FD()

svn:r777

16 years ago r19602@catbus: nickm | 2008-05-05 11:45:18 -0400
Nick Mathewson [Mon, 5 May 2008 15:46:00 +0000 (15:46 +0000)]
 r19602@catbus:  nickm | 2008-05-05 11:45:18 -0400
 Make most of the tests use the new headers.

svn:r776

16 years ago r19601@catbus: nickm | 2008-05-05 11:45:04 -0400
Nick Mathewson [Mon, 5 May 2008 15:45:47 +0000 (15:45 +0000)]
 r19601@catbus:  nickm | 2008-05-05 11:45:04 -0400
 Make event_rpcgen.py use the new headers.

svn:r775

16 years ago r19600@catbus: nickm | 2008-05-05 11:34:06 -0400
Nick Mathewson [Mon, 5 May 2008 15:45:39 +0000 (15:45 +0000)]
 r19600@catbus:  nickm | 2008-05-05 11:34:06 -0400
 Move EV_* flags into event.h; they are a necessary part of the public API.

svn:r774

16 years ago r19599@catbus: nickm | 2008-05-05 11:26:18 -0400
Nick Mathewson [Mon, 5 May 2008 15:45:30 +0000 (15:45 +0000)]
 r19599@catbus:  nickm | 2008-05-05 11:26:18 -0400
 Turn event_initialized() and friends into a function; add function equivalents for EVENT_FD and EVENT_SIGNAL.

svn:r773

16 years ago r19597@catbus: nickm | 2008-05-05 11:00:29 -0400
Nick Mathewson [Mon, 5 May 2008 15:00:53 +0000 (15:00 +0000)]
 r19597@catbus:  nickm | 2008-05-05 11:00:29 -0400
 define _GNU_SOURCE before including fnmatch.h so that FNM_CASEFOLD gets defined and linux build gets fixed.  This whole fnmatch() business will be a bit hard to port, though: windows doesn't have one IIUC, so we'll have to reimplement our own to work there.

svn:r772

16 years agoadd support for virtual http hosts; no tests yet
Niels Provos [Mon, 5 May 2008 07:17:05 +0000 (07:17 +0000)]
add support for virtual http hosts; no tests yet

svn:r771

16 years agofix a bug where it was not possible to bind multiple sockets to the same http
Niels Provos [Sun, 4 May 2008 22:21:29 +0000 (22:21 +0000)]
fix a bug where it was not possible to bind multiple sockets to the same http
server; test that binding multiple sockets works.

svn:r769

16 years agoimprove doxygen documentation for evhttp.h - still incomplete
Niels Provos [Sun, 4 May 2008 20:05:39 +0000 (20:05 +0000)]
improve doxygen documentation for evhttp.h - still incomplete

svn:r768

16 years agotrust in naming: rename evbuffer.c to bufferevent.c
Niels Provos [Sun, 4 May 2008 18:31:21 +0000 (18:31 +0000)]
trust in naming: rename evbuffer.c to bufferevent.c

svn:r767

16 years ago r19564@catbus: nickm | 2008-05-04 13:23:10 -0400
Nick Mathewson [Sun, 4 May 2008 17:23:20 +0000 (17:23 +0000)]
 r19564@catbus:  nickm | 2008-05-04 13:23:10 -0400
 Fix compile with --enable-gcc-warnings and clock_gettime()

svn:r766

16 years agoremove too agressive assert
Niels Provos [Sun, 4 May 2008 03:52:24 +0000 (03:52 +0000)]
remove too agressive assert

svn:r765

16 years agomake event_assign void; it cannot return an error
Niels Provos [Sat, 3 May 2008 22:14:44 +0000 (22:14 +0000)]
make event_assign void; it cannot return an error

svn:r763

16 years agosupport for periodic timeouts
Niels Provos [Sat, 3 May 2008 22:10:09 +0000 (22:10 +0000)]
support for periodic timeouts

svn:r762

16 years agoseparate signal events from io events
Niels Provos [Sat, 3 May 2008 21:37:33 +0000 (21:37 +0000)]
separate signal events from io events

svn:r760

16 years agocache clock_gettime/gettimeofday values in base
Niels Provos [Sat, 3 May 2008 18:23:44 +0000 (18:23 +0000)]
cache clock_gettime/gettimeofday values in base

svn:r758

16 years agointroduce evbuffer_reserve_space() and evbuffer_commit_space() to make processing...
Niels Provos [Sat, 3 May 2008 03:05:28 +0000 (03:05 +0000)]
introduce evbuffer_reserve_space() and evbuffer_commit_space() to make processing in filters more efficient

svn:r757

16 years agointroduce evbuffer_contiguous_space() and use it in the zlib filter test
Niels Provos [Sat, 3 May 2008 02:37:18 +0000 (02:37 +0000)]
introduce evbuffer_contiguous_space() and use it in the zlib filter test

svn:r756

16 years ago r15439@tombo: nickm | 2008-05-02 12:28:08 -0400
Nick Mathewson [Fri, 2 May 2008 16:28:25 +0000 (16:28 +0000)]
 r15439@tombo:  nickm | 2008-05-02 12:28:08 -0400
 use event_assign internall; switch uses of event_set to use event_assign instead.

svn:r755

16 years agoexpose a way to create the rpc context manually
Niels Provos [Thu, 1 May 2008 02:08:26 +0000 (02:08 +0000)]
expose a way to create the rpc context manually

svn:r754

16 years agoallow connections to be removed from an rpc pool
Niels Provos [Thu, 1 May 2008 01:45:00 +0000 (01:45 +0000)]
allow connections to be removed from an rpc pool

svn:r753

16 years agofix missing printf format argument
Niels Provos [Wed, 30 Apr 2008 04:36:26 +0000 (04:36 +0000)]
fix missing printf format argument

svn:r752

16 years agoprovide example bufferevent filters doing compression and decompression as additional...
Niels Provos [Wed, 30 Apr 2008 04:31:10 +0000 (04:31 +0000)]
provide example bufferevent filters doing compression and decompression as additional regression test

svn:r751

16 years agoimprove documentation for bufferevent.h
Niels Provos [Wed, 30 Apr 2008 01:01:57 +0000 (01:01 +0000)]
improve documentation for bufferevent.h

svn:r750

16 years agofix regression test; oops
Niels Provos [Wed, 30 Apr 2008 00:50:20 +0000 (00:50 +0000)]
fix regression test; oops

svn:r749

16 years agosupport input/output filters for bufferevents
Niels Provos [Wed, 30 Apr 2008 00:09:16 +0000 (00:09 +0000)]
support input/output filters for bufferevents

svn:r748

16 years agoadd more header files to doxygen
Niels Provos [Tue, 29 Apr 2008 23:18:04 +0000 (23:18 +0000)]
add more header files to doxygen

svn:r747

16 years ago r15346@tombo: nickm | 2008-04-29 17:19:18 -0400
Nick Mathewson [Tue, 29 Apr 2008 21:19:26 +0000 (21:19 +0000)]
 r15346@tombo:  nickm | 2008-04-29 17:19:18 -0400
 Remove the never-exported, never-used, never-threadsafe evhttp_hostportfile()

svn:r746

16 years ago r15341@tombo: nickm | 2008-04-29 14:09:50 -0400
Nick Mathewson [Tue, 29 Apr 2008 18:11:23 +0000 (18:11 +0000)]
 r15341@tombo:  nickm | 2008-04-29 14:09:50 -0400
 Use internal implementation for evutil_timercmp() everywhere, to avoid bugs when the platform timercmp() has never heard of <= or >=.  Also, replace timercmp() usage in min_heap.c with call to evutil_timercmp().

svn:r744

16 years ago r15339@tombo: nickm | 2008-04-29 14:03:48 -0400
Nick Mathewson [Tue, 29 Apr 2008 18:11:10 +0000 (18:11 +0000)]
 r15339@tombo:  nickm | 2008-04-29 14:03:48 -0400
 Note that evhttp_hostportfile is not threadsafe, and so its usage will change.  Mark its first argument const. Remove a now-redundant declaration for it in http-internal.h.

svn:r743

16 years agoconvert evhttp_connection to use bufferevents
Niels Provos [Tue, 29 Apr 2008 04:52:50 +0000 (04:52 +0000)]
convert evhttp_connection to use bufferevents

svn:r742

16 years agoalso try client connection for chunked requests
Niels Provos [Tue, 29 Apr 2008 04:35:26 +0000 (04:35 +0000)]
also try client connection for chunked requests

svn:r741

16 years agotest the server side of sending chunked replies
Niels Provos [Tue, 29 Apr 2008 02:33:27 +0000 (02:33 +0000)]
test the server side of sending chunked replies

svn:r740

16 years agotest some primitives from http.c
Niels Provos [Tue, 29 Apr 2008 00:24:00 +0000 (00:24 +0000)]
test some primitives from http.c

svn:r739

16 years agointroduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of...
Niels Provos [Sun, 27 Apr 2008 20:40:56 +0000 (20:40 +0000)]
introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents

svn:r737

16 years agotest connection retry logic
Niels Provos [Sun, 27 Apr 2008 20:04:33 +0000 (20:04 +0000)]
test connection retry logic

svn:r736

16 years agotest server behavior when connection times out while reading the headers
Niels Provos [Sun, 27 Apr 2008 19:41:26 +0000 (19:41 +0000)]
test server behavior when connection times out while reading the headers

svn:r735

16 years agoprovide bufferevent_input and bufferevent_output without requiring knowledge of the...
Niels Provos [Sun, 27 Apr 2008 00:32:10 +0000 (00:32 +0000)]
provide bufferevent_input and bufferevent_output without requiring knowledge of the structure

svn:r734

16 years agofix a bug in which bufferevent_write_buffer would not schedule a write event
Niels Provos [Sat, 26 Apr 2008 05:13:56 +0000 (05:13 +0000)]
fix a bug in which bufferevent_write_buffer would not schedule a write event

svn:r733

16 years agofix a bug in buffrevent read water marks and add a test for them
Niels Provos [Sat, 26 Apr 2008 01:00:44 +0000 (01:00 +0000)]
fix a bug in buffrevent read water marks and add a test for them

svn:r731

16 years agoexpose bufferevent_setwatermark via header files and fix high watermark on read
Niels Provos [Sat, 26 Apr 2008 00:35:17 +0000 (00:35 +0000)]
expose bufferevent_setwatermark via header files and fix high watermark on read

svn:r729

16 years agoadd bufferevent_read_buffer function
Niels Provos [Fri, 25 Apr 2008 02:44:46 +0000 (02:44 +0000)]
add bufferevent_read_buffer function

svn:r728

16 years ago r15320@tombo: nickm | 2008-04-24 21:29:06 -0400
Nick Mathewson [Fri, 25 Apr 2008 01:29:15 +0000 (01:29 +0000)]
 r15320@tombo:  nickm | 2008-04-24 21:29:06 -0400
 Yes, niels says this is safe.

svn:r727

16 years ago r15317@tombo: nickm | 2008-04-24 21:17:49 -0400
Nick Mathewson [Fri, 25 Apr 2008 01:18:18 +0000 (01:18 +0000)]
 r15317@tombo:  nickm | 2008-04-24 21:17:49 -0400
 Add new functions to be more threadsafe (and structure-ignorant) than event_set.

svn:r726

16 years ago r15316@tombo: nickm | 2008-04-24 20:58:36 -0400
Nick Mathewson [Fri, 25 Apr 2008 01:18:08 +0000 (01:18 +0000)]
 r15316@tombo:  nickm | 2008-04-24 20:58:36 -0400
 Rename internal memory management functions from event_malloc() etc to mm_malloc() etc.

svn:r725

16 years ago r15249@tombo: nickm | 2008-04-18 09:46:02 -0400
Nick Mathewson [Fri, 18 Apr 2008 13:46:13 +0000 (13:46 +0000)]
 r15249@tombo:  nickm | 2008-04-18 09:46:02 -0400
 Avoid leaking a string in the unlikely OOM case from name_from_addr. spotted by niels.

svn:r724

16 years ago r15245@tombo: nickm | 2008-04-18 09:27:50 -0400
Nick Mathewson [Fri, 18 Apr 2008 13:28:00 +0000 (13:28 +0000)]
 r15245@tombo:  nickm | 2008-04-18 09:27:50 -0400
 Oops; use libevent-internal type instead of uint32_t.

svn:r722

16 years ago r15242@tombo: nickm | 2008-04-18 09:24:44 -0400
Nick Mathewson [Fri, 18 Apr 2008 13:25:05 +0000 (13:25 +0000)]
 r15242@tombo:  nickm | 2008-04-18 09:24:44 -0400
 Make tagging code thread-safe, and fix a bug in encode_int_internal

svn:r721

16 years ago r15228@tombo: nickm | 2008-04-17 15:27:39 -0400
Nick Mathewson [Thu, 17 Apr 2008 19:27:54 +0000 (19:27 +0000)]
 r15228@tombo:  nickm | 2008-04-17 15:27:39 -0400
 Use new includes in evport.c and devpoll.c.  I do not have the hardware to compile these on; somebody else should test them.

svn:r720

16 years ago r15226@tombo: nickm | 2008-04-17 15:25:25 -0400
Nick Mathewson [Thu, 17 Apr 2008 19:25:35 +0000 (19:25 +0000)]
 r15226@tombo:  nickm | 2008-04-17 15:25:25 -0400
 Fix a couple of gcc warnings on 64-bit platforms

svn:r719

16 years ago r15224@tombo: nickm | 2008-04-17 15:19:24 -0400
Nick Mathewson [Thu, 17 Apr 2008 19:19:36 +0000 (19:19 +0000)]
 r15224@tombo:  nickm | 2008-04-17 15:19:24 -0400
 Oops. We need to make sure that strdup wasn't oom.

svn:r718

16 years ago r15220@tombo: nickm | 2008-04-17 15:16:02 -0400
Nick Mathewson [Thu, 17 Apr 2008 19:18:40 +0000 (19:18 +0000)]
 r15220@tombo:  nickm | 2008-04-17 15:16:02 -0400
 Use new includes in more files still

svn:r717

16 years ago r15219@tombo: nickm | 2008-04-17 15:12:17 -0400
Nick Mathewson [Thu, 17 Apr 2008 19:17:50 +0000 (19:17 +0000)]
 r15219@tombo:  nickm | 2008-04-17 15:12:17 -0400
 Use new includes in epoll.c

svn:r716

16 years ago r15218@tombo: nickm | 2008-04-17 15:10:13 -0400
Nick Mathewson [Thu, 17 Apr 2008 19:16:30 +0000 (19:16 +0000)]
 r15218@tombo:  nickm | 2008-04-17 15:10:13 -0400
 Add a missing #include <stdarg.h>

svn:r715

16 years ago r15216@tombo: nickm | 2008-04-17 13:55:05 -0400
Nick Mathewson [Thu, 17 Apr 2008 17:55:35 +0000 (17:55 +0000)]
 r15216@tombo:  nickm | 2008-04-17 13:55:05 -0400
 Add new thread-safe interfaces to evdns functions. Needs review.

svn:r714

16 years ago r15214@tombo: nickm | 2008-04-17 11:47:10 -0400
Nick Mathewson [Thu, 17 Apr 2008 15:50:28 +0000 (15:50 +0000)]
 r15214@tombo:  nickm | 2008-04-17 11:47:10 -0400
 Make name_from_addr() threadsafe in http.c

svn:r713

16 years ago r15212@tombo: nickm | 2008-04-16 17:01:21 -0400
Nick Mathewson [Wed, 16 Apr 2008 21:01:31 +0000 (21:01 +0000)]
 r15212@tombo:  nickm | 2008-04-16 17:01:21 -0400
 Remove some needless includes

svn:r712

16 years ago r15193@tombo: nickm | 2008-04-16 16:00:35 -0400
Nick Mathewson [Wed, 16 Apr 2008 20:01:51 +0000 (20:01 +0000)]
 r15193@tombo:  nickm | 2008-04-16 16:00:35 -0400
 Split event.h into several new headers in include/event2.  event.h is now just a wrapper that includes all the subheaders.

svn:r711

16 years ago r15192@tombo: nickm | 2008-04-16 15:59:51 -0400
Nick Mathewson [Wed, 16 Apr 2008 20:01:27 +0000 (20:01 +0000)]
 r15192@tombo:  nickm | 2008-04-16 15:59:51 -0400
 Fix a compilation error on OSX.

svn:r710

16 years ago r19309@catbus: nickm | 2008-04-11 16:02:07 -0400
Nick Mathewson [Fri, 11 Apr 2008 20:02:50 +0000 (20:02 +0000)]
 r19309@catbus:  nickm | 2008-04-11 16:02:07 -0400
 Fix for epoll-on-linux bug (#1908866) where timeout values over (LONG_MAX-999)/HZ) (35 for me, or maybe 6 hours 50 min for some people, or maybe 3 hours 25 minutes for a special few) get treated as "wait forever".  This actually deserves to be fixed in the kernel, but even if it is we will need to support Linux versions with this bug.

svn:r709

16 years ago r19305@catbus: nickm | 2008-04-10 15:34:10 -0400
Nick Mathewson [Thu, 10 Apr 2008 19:34:50 +0000 (19:34 +0000)]
 r19305@catbus:  nickm | 2008-04-10 15:34:10 -0400
 Fix bug 1938754: do not warn when epoll_create() fails with ENOSYS.

svn:r706

16 years ago r19301@catbus: nickm | 2008-04-10 14:54:46 -0400
Nick Mathewson [Thu, 10 Apr 2008 19:25:11 +0000 (19:25 +0000)]
 r19301@catbus:  nickm | 2008-04-10 14:54:46 -0400
 Forward-port: Correct the documentation on evbuffer_add_[v]printf: Fix for bug 1914464.

svn:r705

16 years agoproxy one more generator
Niels Provos [Thu, 3 Apr 2008 14:27:01 +0000 (14:27 +0000)]
proxy one more generator

svn:r701

16 years agoslight refactoring
Niels Provos [Thu, 3 Apr 2008 03:33:07 +0000 (03:33 +0000)]
slight refactoring

svn:r700

16 years agofix a bug in which evbuffer_add_vfprintf would loop forever; avoid
Niels Provos [Mon, 31 Mar 2008 02:04:34 +0000 (02:04 +0000)]
fix a bug in which evbuffer_add_vfprintf would loop forever;  avoid
fragmentation in evbuffer_expand by increasing the size of the last buffer
in the chain; as a result with have to keep track of the previous_to_last
chain;   provide a evbuffer_validate() function in the regression test to
make sure that all evbuffer are internally consistent.

svn:r699

16 years agodo not delete uninitialized timeout event in evdns
Niels Provos [Mon, 31 Mar 2008 00:33:46 +0000 (00:33 +0000)]
do not delete uninitialized timeout event in evdns

svn:r697

16 years agoadd a check that base != NULL for threading; might want to drop this later
Niels Provos [Mon, 31 Mar 2008 00:31:53 +0000 (00:31 +0000)]
add a check that base != NULL for threading; might want to drop this later

svn:r696

16 years agomake RPC replies use application/octet-stream
Niels Provos [Sun, 30 Mar 2008 21:06:33 +0000 (21:06 +0000)]
make RPC replies use application/octet-stream

svn:r694

16 years agomake event methods static so that they are not exported; from Andrei Nigmatulin
Niels Provos [Sat, 29 Mar 2008 01:45:45 +0000 (01:45 +0000)]
make event methods static so that they are not exported; from Andrei Nigmatulin

svn:r692

16 years agorename lock create callback functions; as suggested by nick
Niels Provos [Tue, 11 Mar 2008 05:26:30 +0000 (05:26 +0000)]
rename lock create callback functions; as suggested by nick

svn:r691

16 years agoswitch thread support so that locks get allocated as they are needed.
Niels Provos [Mon, 10 Mar 2008 03:17:20 +0000 (03:17 +0000)]
switch thread support so that locks get allocated as they are needed.

svn:r690

16 years ago r18547@catbus: nickm | 2008-03-04 14:46:42 -0500
Nick Mathewson [Tue, 4 Mar 2008 19:47:01 +0000 (19:47 +0000)]
 r18547@catbus:  nickm | 2008-03-04 14:46:42 -0500
 Fix compilation with --enable-gcc-warnings

svn:r689

16 years agodocument thread functions
Niels Provos [Tue, 4 Mar 2008 05:42:20 +0000 (05:42 +0000)]
document thread functions

svn:r688

16 years agomake event_rpcgen.py generate code include event-config.h
Niels Provos [Mon, 3 Mar 2008 03:36:51 +0000 (03:36 +0000)]
make event_rpcgen.py generate code include event-config.h

svn:r686

16 years agoforgot this header file
Niels Provos [Sun, 2 Mar 2008 21:39:49 +0000 (21:39 +0000)]
forgot this header file

svn:r685

16 years agoProvide OpenSSL style support for multiple threads accessing the same event_base
Niels Provos [Sun, 2 Mar 2008 21:18:33 +0000 (21:18 +0000)]
Provide OpenSSL style support for multiple threads accessing the same event_base

svn:r684

16 years agoDo not free the kqop file descriptor in other processes, also allow it to be 0; from...
Niels Provos [Sun, 2 Mar 2008 01:46:00 +0000 (01:46 +0000)]
Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigmatulin

svn:r682

16 years ago r18492@catbus: nickm | 2008-02-29 17:32:55 -0500
Nick Mathewson [Fri, 29 Feb 2008 22:33:01 +0000 (22:33 +0000)]
 r18492@catbus:  nickm | 2008-02-29 17:32:55 -0500
 Add another missing _REENTRANT.

svn:r681

16 years agoaddress nick's comments and make evbuffer_pullup more efficient
Niels Provos [Fri, 29 Feb 2008 05:23:49 +0000 (05:23 +0000)]
address nick's comments and make evbuffer_pullup more efficient

svn:r680