From: Divye K. <div...@gm...> - 2008-09-06 18:47:34
|
Hi Dean, On Thu, Aug 7, 2008 at 4:00 PM, Dean Michael C. Berris < dmb...@fr...> wrote: > <snip> Now though the problem > you reported earlier (causing the HTTP client to be unusable offline) > now at least throws a boost::system::system_error exception instead of > consumes 100% CPU load. > I've found another case where the http::client is causing resource leaks and mammoth CPU loads. It occurs when you try to access a CGI script that has failed to execute. A way to reproduce this is to simply use the version of requestinfo.py before revision 77 (use revision 65) and perform a default POST request on it. The cgi script fails with an error but the http::client fails to respond and eats up system resources (seen on Vista/MSVC8). I think its a sign of a larger problem with the way we are using getline calls in http::client. But I'm not sure. Can anyone shed some light on this? Divye -- An idealist is one who, on noticing that a rose smells better than a cabbage, concludes that it will also make better soup. H. L. Mencken (1880 - 1956) My official web site: http://people.iitr.ernet.in/shp/061305/ Webmaster: http://www.drkapoorsclinic.com Blog: http://divyekapoor.blogspot.com |