Re: [Libevent-users] IOCP: evconnlistener_free doesn't close listening socket

2012-10-24 Thread Nick Mathewson
On Tue, Oct 23, 2012 at 3:34 PM, Juan Pablo Fernandez wrote: > IOCP event base and listener created with LEV_OPT_CLOSE_ON_FREE. > Shouldn't iocp_listener_disable_impl check for LEV_OPT_CLOSE_ON_FREE? I think so! Is this something you could write a patch for? yrs, -- Nick **

Re: [Libevent-users] Problems with outbound HTTP posts

2012-10-24 Thread Nir Soffer
On Wed, Oct 24, 2012 at 6:09 PM, Ringel, Rick wrote: > Thanks for taking a look. > > ** ** > > | Did you initialize libevent threading? > > | > > | See http://www.wangafu.net/~nickm/libevent-book/Ref1_libsetup.html > Section "Locks and threading" > > ** ** > > I just reviewed tha

RE: [Libevent-users] Problems with outbound HTTP posts

2012-10-24 Thread Ringel, Rick
Thanks for taking a look. | Did you initialize libevent threading? | | See http://www.wangafu.net/~nickm/libevent-book/Ref1_libsetup.html Section "Locks and threading" I just reviewed that page, and I am calling the 'evthread_use_pthreads()' to initialize. I did add 'evthread_enable_lock

Re: [Libevent-users] Problems with outbound HTTP posts

2012-10-24 Thread Nir Soffer
On Tue, Oct 23, 2012 at 10:09 PM, Ringel, Rick wrote: > My code is pretty basic, but I am sure I am missing something. It smells > like a multi-thread issue – the initialization code runs in a different > thread than the app generating the outbound HTTP messages, and in a > different thread than