Re: [Libevent-users] Re: Crash in evhttp_send_reply_chunk()

2012-05-31 Thread Mark Ellzey
On Thu, May 31, 2012 at 06:48:32AM -0700, Alap Kumar Sinha wrote: > Hi, > > I have attached code snippet. Please let me know if it is better now. > > Regards, > Alap > Use evthread_use_pthreads() before anything else and compile with -levent_pthreads. You cannot use events across different threa

Re: [Libevent-users] Re: Crash in evhttp_send_reply_chunk()

2012-05-31 Thread Alap Kumar Sinha
Hi, I have attached code snippet. Please let me know if it is better now. Regards, Alap From: Mark Ellzey To: libevent-us...@freehaven.net Sent: Thursday, May 31, 2012 9:39 AM Subject: Re: [Libevent-users] Re: Crash in evhttp_send_reply_chunk() On Thu

Re: [Libevent-users] Re: Crash in evhttp_send_reply_chunk()

2012-05-31 Thread Mark Ellzey
On Thu, May 31, 2012 at 06:32:38AM -0700, Alap Kumar Sinha wrote: > Hi, > > Any help on this please? > > Regards, > Alap > Can you either put this up on pastebin/gist, or make the code an attachment? You are using a non-plaintext encoding so it's kind of hard to read. *

[Libevent-users] Re: Crash in evhttp_send_reply_chunk()

2012-05-31 Thread Alap Kumar Sinha
Hi, Any help on this please? Regards, Alap From: Alap Kumar Sinha To: "libevent-us...@freehaven.net" Sent: Wednesday, May 23, 2012 10:24 AM Subject: Crash in evhttp_send_reply_chunk() Hi,   I am using libevent to implement a HTTP server. I am observing a