[Libevent-users] Problem in receiving HTTP Post request

2013-02-06 Thread Alap Kumar Sinha
Hi,   I am facing a problem where a HTTP request does not reach my HTTP server (based on libevent). Following is the scenario.   1.      1.  JavaScript Application -> Posts  HTTP request to Browser 2.      2.   Browser sends the request to the HTTP server based on libevent.   In a success scenario,

[Libevent-users] Method to get the fd associated with a http evcon object

2012-08-31 Thread Alap Kumar Sinha
Hi, Is there a way to get the file descriptor associated with the evcon object of a request (evhttp_request)? /**/ struct evhttp_connection {     /* we use this tailq only if this connection was created for an http * server */     TAILQ_ENTRY(evhttp_connection) next;  

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

2012-05-31 Thread Alap Kumar Sinha
ep a 5 seconds timeout event for each connected client. Each time the timer runs, send a chunk if available. On Wed, May 23, 2012 at 5:24 PM, Alap Kumar Sinha wrote: Hi, >  >I am using libevent to implement a HTTP server. I am observing a crash & connection disconnect in libevent in

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

2012-05-31 Thread Alap Kumar Sinha
, 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&#

[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

[Libevent-users] [LibEvent-users] Help on “evhttp_send_reply_chunk”

2012-04-20 Thread Alap Kumar Sinha
Hi,   I am seeing the a random behavior with persistent http connection. Any help on this would be appreciated.   The scenario:   1.   Got a http server implemented using libevent in C++ 2.   There is a http client using Java Script. 3.   The Javascript creates an EventSource (Which int