Re: [cgi-devel] Issue with request data and threads
Status: Beta
Brought to you by:
drrngrvy
From: Darren G. <lis...@gm...> - 2010-08-12 09:21:57
|
Hi Ankur, On 12 August 2010 08:13, Ankur Gupta <ank...@gm...> wrote: > > I am trying out the code for server3 in cgi/example/fcgi. The server has > 10 threads. I am noticing that after sending 10 requests old requests start > recirculating EVEN THOUGH the request URL is different. Eg: > <snip description> What platform are you trying this on? This sounds like the request object isn't being reset by the accept() handler. Can you try adding the line: new_request->clear(); above the call to accept(*new_request) to see if this helps? Cheers, Darren |