You could always fix evhttp's threading bugs, Mark may let you use his
libevhtp code in doing so. I gather libevhtp isn't a direct drop-in
backward-compatible evhttp replacement but could be with a bit of
work.
Cheers,
Dave Hart
On Thu, Jun 28, 2012 at 04:38 UTC, Julian Bui wrote:
> Thanks for
Thanks for replying, Nick.
I probably cannot use libevhtp because it appears to be too small of a
project to get company approval for my application. We worry about support
and maintenance issues.
Does anyone have any other suggestions for an embedded http server/library
that has multi-threaded
On Wed, Jun 27, 2012 at 2:02 PM, Julian Bui wrote:
> QUESTIONS:
> -was evhttp meant to be used this way? Should I not be calling
> evhttp_send_reply/error from a different thread? I have set
> up evthread_lock_callbacks, so I would think that a multi-threaded app
> should work.
I'm pretty sure
On 2012-06-27 11:26 AM, Zack Weinberg wrote:
The only bufferevent type we use is socket bufferevents, created
variously with bufferevent_socket_connect(_hostname) and
bufferevent_socket_new; the latter case uses the fd provided to the
callback of an evconnlistener.
We also use evconnlisteners, t
I see that the code for evthread_use_windows_threads(void) ends up calling
evthread_set_id_callback, evthread_set_condition_callbacks, and
evthread_set_lock_callbacks, so I should not be using
evthread_use_windows_threads along with those three latter calls to specify
my own threading library.
On
Thanks for your reply, Mark.
First of all, I'd like to clarify, if maybe I did not make it clear, but
I'm using a custom threading library built on top of Qt. So I'm not quite
sure if I use evthread_use_windows_threads() *IN CONJUNCTION WITH*
evthread_set_id_callback, evthread_set_condition_callb
On Wed, Jun 27, 2012 at 02:37:22PM -0500, Mark Ellzey wrote:
> On Wed, Jun 27, 2012 at 11:02:04AM -0700, Julian Bui wrote:
> > Hi libevent,
> >
> > Sorry for the recent surge of emails. I am trying to determine the cause
> > of a problem in my application while using evhttp. I wrote a toy/dummy
On Wed, Jun 27, 2012 at 11:02:04AM -0700, Julian Bui wrote:
> Hi libevent,
>
> Sorry for the recent surge of emails. I am trying to determine the cause
> of a problem in my application while using evhttp. I wrote a toy/dummy
> server (whose code I included) that exhibits the same problem that my
On Tue, Jun 26, 2012 at 4:07 PM, Nick Mathewson wrote:
> On Jun 26, 2012 3:08 PM, "Zack Weinberg" wrote:
>> By "deferred callbacks" do you mean the implementation of
>> BEV_OPT_DEFER_CALLBACKS, or something else? This program doesn't use
>> that, although maybe it should (I'm not at all clear on
Hi libevent,
Sorry for the recent surge of emails. I am trying to determine the cause
of a problem in my application while using evhttp. I wrote a toy/dummy
server (whose code I included) that exhibits the same problem that my real
application is having.
PROBLEM OVERVIEW:
My application is usi
10 matches
Mail list logo