On Sun, Jan 15, 2012 at 09:28:23PM -0600, Hochhaus, Andrew wrote:
> I modified Amarin's test program to call evthread_use_pthreads()
> [attached]. I also added BEV_OPT_THREADSAFE to the
> bufferevent_openssl_socket_new/bufferevent_socket_new calls in
> evhtp.c.
>
> This improves things, however, I
Thanks for the help Mark.
On Sun, Jan 15, 2012 at 12:30 AM, Mark Ellzey wrote:
> evhtp_use_threads() is a connection pooler, each thread having its own
> event_base, and each connection being accepted to that threads evbase.
>
> in this case here, you are double threading, thus you break out of e
On Fri, Jan 13, 2012 at 07:13:09PM -0600, Amarin Phaosawasdi wrote:
> Hi Oscar,
>
> Thanks for following up.
>
> We tried building and linking with the same versions of libevent, libevhtp
> as static libraries, and openssl as a shared library as you did on our
> Linux machines and still got the s
Hi Oscar,
Thanks for following up.
We tried building and linking with the same versions of libevent, libevhtp
as static libraries, and openssl as a shared library as you did on our
Linux machines and still got the same errors. (Unfortunately, we didn't get
any "hello"s.)
The rate of error might
Hi Amarin,
I've retried it by looping curl and it indeed seg. faults after about 10k
invocations (just a guestimate). I did remove the sleep(1); to make it crash
faster, it doesn't really matter.
BTW: why did you use the evhtp_set_gencb()?
Example:
https://github.com/okoeroo/lcmaps-rest/blob/mast
Hi Amarin,
Could you checkout the "0.4.5" tag of libevhtp and rebuild with that one? I
don't think master is the right starting point.
I tried your code and my Chrome (version 18.x devel), Firefox 9.0.1 and
Opera 11.60 worked fine.
I've statically build your code against libevent release-2.0.16-
Hi All,
We're working on fixing an issue with one of our servers, which serves
HTTPS requests on one end, and makes asynchronous RPCs on the other end.
The server uses libevhtp to serve HTTPS requests. But since it is also
based on libevent and we suspect it might have something to do with
buffer