]> granicus.if.org Git - libevent/log
libevent
15 years agofix a typo in a comment
Nick Mathewson [Wed, 29 Apr 2009 20:48:35 +0000 (20:48 +0000)]
fix a typo in a comment

svn:r1251

15 years agoCatch attempts to event_base_once a persistent event.
Nick Mathewson [Wed, 29 Apr 2009 20:48:28 +0000 (20:48 +0000)]
Catch attempts to event_base_once a persistent event.

svn:r1250

15 years agoClarify semantics on event_pending()
Nick Mathewson [Wed, 29 Apr 2009 20:48:21 +0000 (20:48 +0000)]
Clarify semantics on event_pending()

svn:r1249

15 years agoPatch from Eric Hopper: the test for EVENT_BASE_FLAG_IGNORE_ENV was inverted.
Nick Mathewson [Tue, 28 Apr 2009 19:08:36 +0000 (19:08 +0000)]
Patch from Eric Hopper: the test for EVENT_BASE_FLAG_IGNORE_ENV was inverted.

svn:r1248

15 years agoUnit test for disabling events with EVENT_NO*, and for EVENT_BASE_FLAG_IGNORE_ENV.
Nick Mathewson [Tue, 28 Apr 2009 19:08:27 +0000 (19:08 +0000)]
Unit test for disabling events with EVENT_NO*, and for EVENT_BASE_FLAG_IGNORE_ENV.

svn:r1247

15 years agoOops. We never actually defined event_config_set_flag().
Nick Mathewson [Tue, 28 Apr 2009 19:08:17 +0000 (19:08 +0000)]
Oops. We never actually defined event_config_set_flag().

svn:r1246

15 years agoFix compile: #elif FOO is not the same as #elif defined(FOO).
Nick Mathewson [Tue, 28 Apr 2009 19:08:07 +0000 (19:08 +0000)]
Fix compile: #elif FOO is not the same as #elif defined(FOO).

svn:r1245

15 years agomove more code directly into evrpc.c; provide backwards compatible vararg macros
Niels Provos [Sat, 25 Apr 2009 00:15:55 +0000 (00:15 +0000)]
move more code directly into evrpc.c; provide backwards compatible vararg macros

svn:r1244

15 years agoremove vararg macros for accessing evrpc structs
Niels Provos [Sat, 25 Apr 2009 00:15:31 +0000 (00:15 +0000)]
remove vararg macros for accessing evrpc structs

svn:r1243

15 years agorefactor evrpc.h header filer
Niels Provos [Sat, 25 Apr 2009 00:15:09 +0000 (00:15 +0000)]
refactor evrpc.h header filer

svn:r1242

15 years agorefactor evrpc.h header filer
Niels Provos [Sat, 25 Apr 2009 00:14:58 +0000 (00:14 +0000)]
refactor evrpc.h header filer

svn:r1241

15 years agomake sendfile work on freebsd
Niels Provos [Fri, 24 Apr 2009 03:24:22 +0000 (03:24 +0000)]
make sendfile work on freebsd

svn:r1239

15 years agoChangelog entry for r1237
Nick Mathewson [Thu, 23 Apr 2009 21:43:44 +0000 (21:43 +0000)]
Changelog entry for r1237

svn:r1238

15 years agoFix for evbuffer_read() when all data fits in penultimate chain.
Nick Mathewson [Thu, 23 Apr 2009 21:41:53 +0000 (21:41 +0000)]
Fix for evbuffer_read() when all data fits in penultimate chain.

Previously we were reading into the next-to-last chain, but incrementing
the fullness of the last.  Bug found by Victor Goya.

svn:r1237

15 years agoOops. event_config.flags was never initialized. Bugfix on 2.0.1-alpha. Found by...
Nick Mathewson [Thu, 23 Apr 2009 21:34:37 +0000 (21:34 +0000)]
Oops. event_config.flags was never initialized.  Bugfix on 2.0.1-alpha.  Found by Victor Goya.

svn:r1236

15 years agoMake main/methods test pass on systems where only one backend exists.
Nick Mathewson [Thu, 23 Apr 2009 18:08:42 +0000 (18:08 +0000)]
Make main/methods test pass on systems where only one backend exists.

svn:r1235

15 years agoFix win32 compilation issues.
Nick Mathewson [Thu, 23 Apr 2009 18:04:50 +0000 (18:04 +0000)]
Fix win32 compilation issues.

svn:r1234

15 years agoAdd missing case to make http.c compile with warnings enabled.
Nick Mathewson [Thu, 23 Apr 2009 06:27:58 +0000 (06:27 +0000)]
Add missing case to make http.c compile with warnings enabled.

svn:r1232

15 years agoFix c89 bugs reported by Cory Stup.
Nick Mathewson [Thu, 23 Apr 2009 05:40:06 +0000 (05:40 +0000)]
Fix c89 bugs reported by Cory Stup.

Others may remain.  I wasn't able to get gcc --std=c89 to build libevent
at all, so I don't know what compiler the original reporter is using here.

Note that this change requires us to disable the part of our rpc code
that uses variadic macros when using a non-gcc compiler.  This is a
problem if we want our rpc api to be portable.

svn:r1231

15 years agoAdd missing regress_minheap.c file
Nick Mathewson [Thu, 23 Apr 2009 05:20:08 +0000 (05:20 +0000)]
Add missing regress_minheap.c file

svn:r1230

15 years agoAdd a randomized test for heap correctness.
Nick Mathewson [Thu, 23 Apr 2009 00:33:37 +0000 (00:33 +0000)]
Add a randomized test for heap correctness.

svn:r1229

15 years agoUse signal.h, not sys/signal.h.
Nick Mathewson [Thu, 23 Apr 2009 00:21:23 +0000 (00:21 +0000)]
Use signal.h, not sys/signal.h.

This is patch 2673214 from mmadia.  It is correct, since we unconditionally
include signal.h in many other places, and only sometimes include sys/signal.h.
It is necessary to compile on Haiku, I'm told.

svn:r1228

15 years agoFix min_heap_erase when we remove an element from the middle of the heap.
Nick Mathewson [Thu, 23 Apr 2009 00:01:24 +0000 (00:01 +0000)]
Fix min_heap_erase when we remove an element from the middle of the heap.

Previously, we could lose the heap property when we removed an item
whose parent was greater than the last element in the heap.  We would
replace the removed item with the last element, and consider shifting
it down, but we wouldn't consider shifting it up.

Patch from Marko Kreen.

svn:r1226

15 years agoMake version test ignore the bottom byte of the version number.
Nick Mathewson [Thu, 23 Apr 2009 00:01:14 +0000 (00:01 +0000)]
Make version test ignore the bottom byte of the version number.

svn:r1225

15 years agobump the numeric version; this is not the same as the alpha.
Nick Mathewson [Thu, 23 Apr 2009 00:01:05 +0000 (00:01 +0000)]
bump the numeric version; this is not the same as the alpha.

svn:r1224

15 years agoSomehow free_active_base was using the socketpair, but not saying it needed it. ...
Nick Mathewson [Thu, 23 Apr 2009 00:00:55 +0000 (00:00 +0000)]
Somehow free_active_base was using the socketpair, but not saying it needed it.  How did this ever work?

svn:r1223

15 years agoDetect and reject n_priorities less than 1.
Nick Mathewson [Wed, 22 Apr 2009 20:28:30 +0000 (20:28 +0000)]
Detect and reject n_priorities less than 1.

svn:r1222

15 years agoAdd forgotten changelog.
Nick Mathewson [Wed, 22 Apr 2009 20:27:21 +0000 (20:27 +0000)]
Add forgotten changelog.

svn:r1221

15 years agoAdd a flag to disable checking the EVENT_* environment variables.
Nick Mathewson [Wed, 22 Apr 2009 19:41:23 +0000 (19:41 +0000)]
Add a flag to disable checking the EVENT_* environment variables.

svn:r1220

15 years agoAdd a missing "static".
Nick Mathewson [Wed, 22 Apr 2009 15:38:50 +0000 (15:38 +0000)]
Add a missing "static".

svn:r1219

15 years agoMake sure the test case for mem_functions hits strdup too.
Nick Mathewson [Tue, 21 Apr 2009 18:48:05 +0000 (18:48 +0000)]
Make sure the test case for mem_functions hits strdup too.

svn:r1218

15 years agoDo not free the signal index unless it was at some point allocated
Nick Mathewson [Tue, 21 Apr 2009 18:47:53 +0000 (18:47 +0000)]
Do not free the signal index unless it was at some point allocated

svn:r1217

15 years agoAdd a basic test for set_mem_functions
Nick Mathewson [Tue, 21 Apr 2009 18:47:35 +0000 (18:47 +0000)]
Add a basic test for set_mem_functions

svn:r1216

15 years agoFix the documentation of event_pending.
Nick Mathewson [Tue, 21 Apr 2009 18:47:23 +0000 (18:47 +0000)]
Fix the documentation of event_pending.

svn:r1215

15 years agoAdd a test for event_pending; especially the timeout part.
Nick Mathewson [Tue, 21 Apr 2009 18:47:02 +0000 (18:47 +0000)]
Add a test for event_pending; especially the timeout part.

svn:r1214

15 years agoUnit tests for event_base_once.
Nick Mathewson [Tue, 21 Apr 2009 18:46:43 +0000 (18:46 +0000)]
Unit tests for event_base_once.

svn:r1213

15 years agoRefactor test wrappers to divide legacy items from useful stuff.
Nick Mathewson [Tue, 21 Apr 2009 18:46:30 +0000 (18:46 +0000)]
Refactor test wrappers to divide legacy items from useful stuff.

svn:r1212

15 years agoAdd unit tests for version methods and feature-based backend selection
Nick Mathewson [Tue, 21 Apr 2009 18:46:11 +0000 (18:46 +0000)]
Add unit tests for version methods and feature-based backend selection

svn:r1211

15 years agoCall the main testcases "main", not "legacy".
Nick Mathewson [Tue, 21 Apr 2009 18:45:59 +0000 (18:45 +0000)]
Call the main testcases "main", not "legacy".

svn:r1210

15 years agoFormat microseconds correctly in bench_httpclient
Nick Mathewson [Tue, 21 Apr 2009 16:17:59 +0000 (16:17 +0000)]
Format microseconds correctly in bench_httpclient

svn:r1209

15 years agoUpdate copyright notices, add some missing license statements
Nick Mathewson [Sun, 19 Apr 2009 20:54:12 +0000 (20:54 +0000)]
Update copyright notices, add some missing license statements

svn:r1208

15 years agodefer-internal.h was missing from dist; so our first tar ball did not even compile...
Niels Provos [Sun, 19 Apr 2009 13:33:52 +0000 (13:33 +0000)]
defer-internal.h was missing from dist; so our first tar ball did not even compile. ouch.

svn:r1207

15 years agoNote dns work in changelog and whatsnew
Nick Mathewson [Sun, 19 Apr 2009 01:59:25 +0000 (01:59 +0000)]
Note dns work in changelog and whatsnew

svn:r1206

15 years agoMake dns callbacks run deferred
Nick Mathewson [Sun, 19 Apr 2009 01:59:09 +0000 (01:59 +0000)]
Make dns callbacks run deferred

svn:r1205

15 years agoAdd locks to evdns.
Nick Mathewson [Sun, 19 Apr 2009 01:58:54 +0000 (01:58 +0000)]
Add locks to evdns.

svn:r1204

15 years agoUse new-style headers in evdns.c
Nick Mathewson [Sun, 19 Apr 2009 01:58:41 +0000 (01:58 +0000)]
Use new-style headers in evdns.c

svn:r1203

15 years agoDo not try to double-free the nameserver in regression test
Nick Mathewson [Sun, 19 Apr 2009 01:58:26 +0000 (01:58 +0000)]
Do not try to double-free the nameserver in regression test

svn:r1202

15 years agoMore tweaks to http stress-tester
Nick Mathewson [Sat, 18 Apr 2009 18:28:18 +0000 (18:28 +0000)]
More tweaks to http stress-tester

svn:r1201

15 years agofix a misindent
Nick Mathewson [Sat, 18 Apr 2009 18:27:56 +0000 (18:27 +0000)]
fix a misindent

svn:r1200

15 years agomake doxygen happier
Niels Provos [Sat, 18 Apr 2009 04:34:45 +0000 (04:34 +0000)]
make doxygen happier

svn:r1199

15 years agoAdd a new bench_httpclient for a trivial codecon demo.
Nick Mathewson [Sat, 18 Apr 2009 00:12:52 +0000 (00:12 +0000)]
Add a new bench_httpclient for a trivial codecon demo.

svn:r1198

15 years agoAdd a generic way for any bufferevent to make its callback deferred
Nick Mathewson [Fri, 17 Apr 2009 23:12:34 +0000 (23:12 +0000)]
Add a generic way for any bufferevent to make its callback deferred

svn:r1197

15 years agoBump version to 2.0.1-alpha-dev so that nobody mistakes a svn checkout for 2.0.1...
Nick Mathewson [Fri, 17 Apr 2009 23:07:48 +0000 (23:07 +0000)]
Bump version to 2.0.1-alpha-dev so that nobody mistakes a svn checkout for 2.0.1-alpha.

svn:r1196

15 years agoIncrement version to 2.0.1-alpha, and add a numeric version facility
Nick Mathewson [Fri, 17 Apr 2009 17:22:32 +0000 (17:22 +0000)]
Increment version to 2.0.1-alpha, and add a numeric version facility

svn:r1193

15 years agoEven _more_ recent tinytest, designed to give better help output. release-2.0.1-alpha
Nick Mathewson [Fri, 17 Apr 2009 06:58:18 +0000 (06:58 +0000)]
Even _more_ recent tinytest, designed to give better help output.

svn:r1192

15 years agonote new unit test framework.
Nick Mathewson [Fri, 17 Apr 2009 06:58:04 +0000 (06:58 +0000)]
note new unit test framework.

svn:r1191

15 years agoAdd the latest tinytest. This one supports a --terse flag and a --no-fork flag,...
Nick Mathewson [Fri, 17 Apr 2009 06:57:52 +0000 (06:57 +0000)]
Add the latest tinytest.  This one supports a --terse flag and a --no-fork flag, and outputs nicer.

svn:r1190

15 years agoAdd reference counts to bufferevents.
Nick Mathewson [Fri, 17 Apr 2009 06:57:38 +0000 (06:57 +0000)]
Add reference counts to bufferevents.

svn:r1189

15 years agoWrite a huge pile of whatsnew-2.0.txt
Nick Mathewson [Fri, 17 Apr 2009 06:57:25 +0000 (06:57 +0000)]
Write a huge pile of whatsnew-2.0.txt

svn:r1188

15 years agoOh hey. There is no support for suspend/unsuspend.
Nick Mathewson [Fri, 17 Apr 2009 06:57:13 +0000 (06:57 +0000)]
Oh hey.  There is no support for suspend/unsuspend.

svn:r1187

15 years agoAdd a configure flag to hardcode all of our mm functions.
Nick Mathewson [Fri, 17 Apr 2009 06:56:57 +0000 (06:56 +0000)]
Add a configure flag to hardcode all of our mm functions.

svn:r1186

15 years agoFix evmap indentation to be less stupid.
Nick Mathewson [Fri, 17 Apr 2009 06:56:36 +0000 (06:56 +0000)]
Fix evmap indentation to be less stupid.

svn:r1185

15 years agoRename whatsnew file to reflect actual version.
Nick Mathewson [Fri, 17 Apr 2009 06:56:23 +0000 (06:56 +0000)]
Rename whatsnew file to reflect actual version.

svn:r1184

15 years agoActually stop using EVBUFFER_LENGTH/DATA, and move them to buffer_compat.h
Nick Mathewson [Fri, 17 Apr 2009 06:56:09 +0000 (06:56 +0000)]
Actually stop using EVBUFFER_LENGTH/DATA, and move them to buffer_compat.h

svn:r1183

15 years agoStop claiming that APIs we have are missing.
Nick Mathewson [Fri, 17 Apr 2009 06:55:25 +0000 (06:55 +0000)]
Stop claiming that APIs we have are missing.

svn:r1182

15 years agoDocument many internal functions and pieces of code.
Nick Mathewson [Fri, 17 Apr 2009 06:55:08 +0000 (06:55 +0000)]
Document many internal functions and pieces of code.

svn:r1181

15 years agoRemove long copy-and-paste section full of windows api notes.
Nick Mathewson [Fri, 17 Apr 2009 06:54:28 +0000 (06:54 +0000)]
Remove long copy-and-paste section full of windows api notes.

svn:r1180

15 years agohave evhttp_set_cb return an int; -1 on failure, 0 on success; this is better than...
Niels Provos [Fri, 17 Apr 2009 01:03:07 +0000 (01:03 +0000)]
have evhttp_set_cb return an int; -1 on failure, 0 on success; this is better than returning a pointer

svn:r1179

15 years agopkgconfig support from Ted Bullock
Niels Provos [Fri, 17 Apr 2009 00:24:58 +0000 (00:24 +0000)]
pkgconfig support from Ted Bullock

svn:r1177

15 years agoMore hacking on event_iocp.c: make it compile, and give it more of an interface....
Nick Mathewson [Thu, 16 Apr 2009 00:32:52 +0000 (00:32 +0000)]
More hacking on event_iocp.c: make it compile, and give it more of an interface.  This code is now testable.

svn:r1176

15 years agoIt seems support for GetCompletionEventEx is not in my mingw. Use the simpler interf...
Nick Mathewson [Thu, 16 Apr 2009 00:27:32 +0000 (00:27 +0000)]
It seems support for GetCompletionEventEx is not in my mingw.  Use the simpler interface instead, for now.

svn:r1175

15 years agoMake buffer iocp stuff compile happily
Nick Mathewson [Tue, 14 Apr 2009 20:11:10 +0000 (20:11 +0000)]
Make buffer iocp stuff compile happily

svn:r1174

15 years agoFix typo in mm_free
Nick Mathewson [Mon, 13 Apr 2009 18:32:24 +0000 (18:32 +0000)]
Fix typo in mm_free

svn:r1173

15 years agoAdd draft (nonworking) versions of iocp code to hack on more.
Nick Mathewson [Mon, 13 Apr 2009 18:29:31 +0000 (18:29 +0000)]
Add draft (nonworking) versions of iocp code to hack on more.

svn:r1172

15 years agoFix two windows compilation bugs.
Nick Mathewson [Mon, 13 Apr 2009 18:23:02 +0000 (18:23 +0000)]
Fix two windows compilation bugs.

svn:r1171

15 years agoLocking support for bufferevents.
Nick Mathewson [Mon, 13 Apr 2009 03:17:19 +0000 (03:17 +0000)]
Locking support for bufferevents.

svn:r1170

15 years agoRefactor new elements of bufferevent into bufferevent_private structure
Nick Mathewson [Mon, 13 Apr 2009 03:08:11 +0000 (03:08 +0000)]
Refactor new elements of bufferevent into bufferevent_private structure

This way we don't expose more of a bufferevent than we need to.  One
motivation is to make it easier to automatically get deferred callbacks
with a bufferevent without exposing the deferred_cb structure.

svn:r1169

15 years agoRemove if0 code in bufferevent_struct.h
Nick Mathewson [Mon, 13 Apr 2009 03:07:37 +0000 (03:07 +0000)]
Remove if0 code in bufferevent_struct.h

svn:r1168

15 years agoUse freeze operations to prevent shenanegans on bufferevent pair evbuffers.
Nick Mathewson [Mon, 13 Apr 2009 03:07:17 +0000 (03:07 +0000)]
Use freeze operations to prevent shenanegans on bufferevent pair evbuffers.

svn:r1167

15 years agoDo not remove an empty chain that we have pinned for reading when we drain the whole...
Nick Mathewson [Mon, 13 Apr 2009 03:06:59 +0000 (03:06 +0000)]
Do not remove an empty chain that we have pinned for reading when we drain the whole buffer.

svn:r1166

15 years agoadd pin/unpin functions, and a deref-and-free pair.
Nick Mathewson [Mon, 13 Apr 2009 03:06:47 +0000 (03:06 +0000)]
add pin/unpin functions, and a deref-and-free pair.

svn:r1165

15 years agoAdd a reference count to evbuffers.
Nick Mathewson [Mon, 13 Apr 2009 03:06:27 +0000 (03:06 +0000)]
Add a reference count to evbuffers.

svn:r1164

15 years agoMake evbuffer_commit_space trigger callbacks.
Nick Mathewson [Mon, 13 Apr 2009 03:06:05 +0000 (03:06 +0000)]
Make evbuffer_commit_space trigger callbacks.

svn:r1163

15 years agoRefactor the code that sets up iovecs for reading into its own function. iocp needs...
Nick Mathewson [Mon, 13 Apr 2009 03:05:46 +0000 (03:05 +0000)]
Refactor the code that sets up iovecs for reading into its own function.  iocp needs this.

svn:r1162

15 years agoAdd a new EVUTIL_UPCAST macro so that I do not need to keep figuring out the right...
Nick Mathewson [Sun, 12 Apr 2009 22:02:54 +0000 (22:02 +0000)]
Add a new EVUTIL_UPCAST macro so that I do not need to keep figuring out the right offsetof magic over and over.

svn:r1160

15 years agoreindent macros in util-internal.h
Nick Mathewson [Sun, 12 Apr 2009 22:02:12 +0000 (22:02 +0000)]
reindent macros in util-internal.h

svn:r1159

15 years agohttp benchmark: add a way to change the size of the buffer; also use add_reference
Niels Provos [Sun, 12 Apr 2009 00:38:31 +0000 (00:38 +0000)]
http benchmark: add a way to change the size of the buffer; also use add_reference

svn:r1158

15 years agodocument evhttp_parse_query better
Niels Provos [Sat, 11 Apr 2009 15:26:29 +0000 (15:26 +0000)]
document evhttp_parse_query better

svn:r1157

15 years agoprevious commit changed the semantics of evhttp_decode_uri; need a test for that
Niels Provos [Sat, 11 Apr 2009 04:18:49 +0000 (04:18 +0000)]
previous commit changed the semantics of evhttp_decode_uri; need a test for that

svn:r1156

15 years agoFacility to make evbuffers get their callbacks deferred.
Nick Mathewson [Fri, 10 Apr 2009 20:43:08 +0000 (20:43 +0000)]
Facility to make evbuffers get their callbacks deferred.

svn:r1154

15 years agoBetter explanation for bufferevent_pair
Nick Mathewson [Fri, 10 Apr 2009 20:42:53 +0000 (20:42 +0000)]
Better explanation for bufferevent_pair

svn:r1153

15 years agoAdd a linked-pair abstraction to bufferevents.
Nick Mathewson [Fri, 10 Apr 2009 15:01:31 +0000 (15:01 +0000)]
Add a linked-pair abstraction to bufferevents.

The new bufferevent_pair abstraction works like a set of buferevent_sockets
connected by a socketpair, except that it doesn't require a socketpair,
and therefore doesn't need to get the kernel involved.

It's also a good way to make sure that deferred callbacks work.  It's a good
use case for deferred callbacks: before I implemented them, the recursive
relationship between the evbuffer callback and the read callback would
make the unit tests overflow the stack.

svn:r1152

15 years agoA couple of tweaks for deferred callbacks.
Nick Mathewson [Fri, 10 Apr 2009 14:58:15 +0000 (14:58 +0000)]
A couple of tweaks for deferred callbacks.

svn:r1151

15 years agoInitial support for a lightweight 'deferred callbacks'.
Nick Mathewson [Fri, 10 Apr 2009 14:22:33 +0000 (14:22 +0000)]
Initial support for a lightweight 'deferred callbacks'.

A 'deferred callback' is just a function that we've queued in the
event base.  This ability is needed for some mt stuff, and for complex
callback chains.  For internal use only.

svn:r1150

15 years agoDon't allow internal events to starve lower-priority events.
Nick Mathewson [Fri, 10 Apr 2009 14:21:53 +0000 (14:21 +0000)]
Don't allow internal events to starve lower-priority events.

This is exceptionally important with multithreaded stuff, where we use
an event to notify the base that other events have been made active.
If the activated events have a prioirty number greater than that of the
notification event, it will starve them, and that's no good.

svn:r1149

15 years agoFix parsing of queries where the encoded queries contained \r, \n or +
Niels Provos [Fri, 10 Apr 2009 05:43:45 +0000 (05:43 +0000)]
Fix parsing of queries where the encoded queries contained \r, \n or +

svn:r1148

15 years agorevert last commit; git user error
Niels Provos [Fri, 10 Apr 2009 05:22:15 +0000 (05:22 +0000)]
revert last commit; git user error

svn:r1147

15 years agoinitial version of query decoding patch
Niels Provos [Fri, 10 Apr 2009 05:18:18 +0000 (05:18 +0000)]
initial version of query decoding patch

svn:r1146

15 years agoadd a missing "static" to timeout_process.
Nick Mathewson [Wed, 8 Apr 2009 16:57:38 +0000 (16:57 +0000)]
add a missing "static" to timeout_process.

svn:r1145

15 years agoPrevent unsupported modifications to bufferevent_sock buffers.
Nick Mathewson [Wed, 8 Apr 2009 03:05:42 +0000 (03:05 +0000)]
Prevent unsupported modifications to bufferevent_sock buffers.

In particular, we don't allow adding any data to end front of inbuf
(we do that when we read), or removing it from the front of outbuf (we
drain data only when we write).

svn:r1144