[Libevent-users] Test failures on Mac OS X 10.5.8

2011-06-08 Thread Nir Soffer
Hi, I'm getting some random dns failures with versions from the last week: The failures are random - sometimes all the tests pass, sometimes some of the backends fail in the same place, and sometimes all of them fail in the same place. I did not see these errors in 2.0.11-stable, but maybe

Re: [Libevent-users] [PATCH] evbuffer_search_range fails when searching the last byte

2011-06-08 Thread Nir Soffer
On Jun 8, 2011, at 8:50 PM, Nick Mathewson wrote: On Tue, Jun 7, 2011 at 9:30 AM, Nir Soffer wrote: On Jun 7, 2011, at 4:03 AM, Nick Mathewson wrote: On Mon, Jun 6, 2011 at 8:37 PM, Nir Soffer wrote: Here's another patch that might make stuff work. Before I'd apply it, I'd like to hav

Re: [Libevent-users] some trivial patches

2011-06-08 Thread Nick Mathewson
On Tue, May 31, 2011 at 2:43 PM, Mansour Moufid wrote: > On Mon, May 30, 2011 at 11:02 AM, Nick Mathewson wrote: >> 0001 and 0002 look like non-starters.  They change a published >> interface.  Code that followed the documented interface of >> evhttp_*_set_max_*_size that  would have worked befor

Re: [Libevent-users] Missing error checking

2011-06-08 Thread Nick Mathewson
On Mon, Jun 6, 2011 at 5:29 PM, Gilad Benjamini wrote: > Hi, > Here are a few cases where error checking is missing. Not knowing the code, I > can mostly just point to the issues without suggesting fixes. > > - evthread_set_condition_callbacks - The first half of the function assumes > cbs might

Re: [Libevent-users] Issue with Windows fork CreateProcess

2011-06-08 Thread Nick Mathewson
On Wed, Jun 8, 2011 at 1:49 PM, Ed Day wrote: > Hi everyone, (Quick issue: you don't need to quote mails in your messages unless they are related to what you're talking about.) > I am new to the list.  This post is in response to a posting last > December on a Windows regression fork failure ([L

Re: [Libevent-users] [PATCH] evbuffer_search_range fails when searching the last byte

2011-06-08 Thread Nick Mathewson
On Tue, Jun 7, 2011 at 9:30 AM, Nir Soffer wrote: > > On Jun 7, 2011, at 4:03 AM, Nick Mathewson wrote: > >> On Mon, Jun 6, 2011 at 8:37 PM, Nir Soffer wrote: >> Here's another patch that might make stuff work.  Before I'd apply it, >> I'd like to have a look through everything that's using >> ev

[Libevent-users] Issue with Windows fork CreateProcess

2011-06-08 Thread Ed Day
Hi everyone, I am new to the list. This post is in response to a posting last December on a Windows regression fork failure ([Libevent-users] Re: Libevent 2.0.10-stable is released by Dongsheng Song). I noticed the question was not answered and I recently experienced the same error myself when t

Re: [Libevent-users] Re: Dead or wrong code

2011-06-08 Thread Nick Mathewson
On Tue, Jun 7, 2011 at 5:58 PM, Nir Soffer wrote: > > On Jun 7, 2011, at 8:48 PM, Gilad Benjamini wrote: > 955         buf->first = chain; 956         if (chain) { 957             chain->misalign += remaining; 958             chain->off -= remaining; 959         } >>> >>>

Re: [Libevent-users] Send evbuffer to multiple clients

2011-06-08 Thread Nick Mathewson
On Tue, Jun 7, 2011 at 7:08 PM, Joachim Bauch wrote: > Am Montag, den 06.06.2011, 20:29 -0400 schrieb Nick Mathewson: >> Hm.  If there's nothing hideously complex in the source buffer (that >> is, nothing added with evbuffer_add_file), you could try an >> appropriate combination of evbuffer_peek a