RE: [Libevent-users] Forwarding events to a different event base.

2010-10-26 Thread Kelly Brock
Hi Nick, > >        So, given the latest rc does not support listener sockets under > Win > > IOCP (unless that has changed), > > Are you talking about the IOCP based evconnlistener stuff? It's > supposed to be working; if it isn't, you should open a bug on the > tracker. I tried it las

Re: [Libevent-users] Libevent 2.0.8 crashes on Windows without WSAStartup

2010-10-26 Thread Matthew Weigel
On Oct 26, 2010, at 8:48 PM, Nick Mathewson wrote: On Mon, Oct 25, 2010 at 11:02 PM, bottig...@gmail.com wrote: I've compiled libevent on windows 7 32bit with Mingw successfully. Unfortunately when I run a few test programs, some of them will print: [warn] evsig_init: socketpair: Successf

Re: [Libevent-users] Hard-coded limit on read/write data size?

2010-10-26 Thread Nick Mathewson
On Thu, Oct 14, 2010 at 12:26 AM, Raine Fan wrote: > Hi, I'm programming a libevent2 based app that measures read/write > efficiency from a remote (TCP) server using event based paradigms. > Since I'm new to libevent's and event based paradigm, I'm also using > 'buffervevent' and 'evbuffer' interf

Re: [Libevent-users] Clarify new behavior?

2010-10-26 Thread Nick Mathewson
On Sat, Oct 23, 2010 at 5:14 AM, Ralph Castain wrote: > Hi folks > > I successfully updated our libevent integration in Open MPI, but have > encountered a problem with one use-case that used to work and now doesn't. > Before proceeding to devise a fix, I just wanted to confirm that I accurately

Re: [Libevent-users] EV_CHANGE_xxx macros

2010-10-26 Thread Nick Mathewson
On Mon, Oct 25, 2010 at 4:56 PM, Gilad Benjamini wrote: > The definition of the EV_CHANGE_xxx macros partially relies on the > definition of a different set of macros (EV_SIGNAL, EV_PERSIST, etc.). I'd have no objection to making the EV_CHANGE_xxx macros more independent from the EV_* macros in 2

Re: [Libevent-users] Forwarding events to a different event base.

2010-10-26 Thread Nick Mathewson
On Tue, Oct 26, 2010 at 8:22 AM, Kelly Brock wrote: > Hi Folks, > >        So, given the latest rc does not support listener sockets under Win > IOCP (unless that has changed), Are you talking about the IOCP based evconnlistener stuff? It's supposed to be working; if it isn't, you should open a

Re: [Libevent-users] Libevent 2.0.8 crashes on Windows without WSAStartup

2010-10-26 Thread Dan Kegel
On Tue, Oct 26, 2010 at 6:48 PM, Nick Mathewson wrote: > People more experienced than I am about Windows can probably weigh in > on what the right thing is here. I think the expectation was that each DLL that uses winsock would call WSAStartup before using it, and WSACleanup when done. That's sa

Re: [Libevent-users] Libevent 2.0.8 crashes on Windows without WSAStartup

2010-10-26 Thread Nick Mathewson
On Mon, Oct 25, 2010 at 11:02 PM, bottig...@gmail.com wrote: > I've compiled libevent on windows 7 32bit with Mingw successfully. > Unfortunately when I run a few test programs, some of them will print: > > [warn] evsig_init: socketpair: Successful WSAStartup not yet performed > [WSANOTINITIALISED

RE: [Libevent-users] epoll erros

2010-10-26 Thread Gilad Benjamini
Quick testing of the 0001 patch on my system seems ok. > -Original Message- > From: owner-libevent-us...@freehaven.net [mailto:owner-libevent- > us...@freehaven.net] On Behalf Of Nick Mathewson > Sent: Sunday, October 24, 2010 10:03 AM > To: libevent-us...@freehaven.net > Subject: Re: [Lib

Re: [Libevent-users] Libevent HTTP and pipeline mode

2010-10-26 Thread Nick Mathewson
On Fri, Jul 30, 2010 at 9:23 AM, Anton Zem wrote: > I found that libebvent's HTTP Server cannot work properly in pipelined mode. > The problem is in code >    if (req->ntoread == 0) { >         bufferevent_disable(evcon->bufev, EV_READ); >         /* Completed content length */ >         evhttp_co

[Libevent-users] Forwarding events to a different event base.

2010-10-26 Thread Kelly Brock
Hi Folks, So, given the latest rc does not support listener sockets under Win IOCP (unless that has changed), something I would like to do is push listener events into a different event base. The simple reasoning is that I would like my worker threads to get both the read/write/timer and