Hi,
I ran into this while evhttp was trying to fetch Shoutcast streams.
The server responds with 'ICY 200 OK', which libevent intends to
reject. But the sscanf return value isn't checked properly and the
behaviour is undefined (in practice, sometimes accepts the response,
sometimes rejects it).
F
On Mon, Jan 16, 2012 at 3:05 AM, harry wrote:
> Hi,
>
> I've been playing around with libev and libevent and knocked up a
> benchmarking tool for them both. It's been a while since I've used C but you
> can produce some graphs using the tool etc and I've had some odd results ie
> for my use case,
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
Hi,
I've been playing around with libev and libevent and knocked up a
benchmarking tool for them both. It's been a while since I've used C but
you can produce some graphs using the tool etc and I've had some odd
results ie for my use case, lots of file descriptors and I'm not using
any timers