For anyone following this thread and interested in what I ended up doing: I
found POCO which has a nice networking library that uses the select
mechanism and has a multi-thread HTTP server library. It seems to be
working well so far.
On Wed, Jun 27, 2012 at 9:38 PM, Julian Bui wrote:
> Thanks f
On Thu, Jun 28, 2012 at 7:38 AM, Julian Bui wrote:
> 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 suggest
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
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
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