From: Dean M. C. B. <dmb...@fr...> - 2008-08-07 10:31:12
|
> -----Original Message----- > From: cpp...@li... > [mailto:cpp...@li...] On > Behalf Of Divye Kapoor > Sent: Thursday, August 07, 2008 6:23 PM > To: C++ Networking Library Developers Mailing List > Subject: Re: [cpp-netlib-devel] Python tests > > > > On Thu, Aug 7, 2008 at 12:11 PM, Dean Michael C. Berris > <dmb...@fr...> wrote: > > > > Divye, have you tried not using xterm to spawn a new > process after the > fork to run the server? Perhaps writing a bash script > that gets executed > instead in execlp would be another option? > > > > I've tried plenty of approaches to get this to work but this > was the only one that seemed to work. > However, I'll give it another shot and try the bash script method. > I'll be eagerly awaiting. :) BTW, I've made some changes to the code in the latest version in http_integration. For now the errors thrown by the HTTP client are directly coming from Boost.Asio. I'm not sure if we should be supporting a non-throwing version using macros to differentiate, but that's for later. 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. HTH -- Dean Michael Berris Software Engineer, Friendster, Inc. |