Hi,

sorry for the late answer. I just found the mail in my spam folder. It was 
filtered out. I have to check, how to prevent that. One funny filter which was 
used is "Odd Letter Triples with CX" and another "Odd Letter Triples with XX". 
Is cxxtools really such a suspicious name???

This was really a bug. The cxxtools http client fails to read chunked encoded 
data. I fixed it in svn.

Tommi


Am Sonntag, August 22, 2010, 15:23:03 schrieb Shadowcat:
> It's been five days since I first submitted this.  It would be nice to
> at least get a reply...  Is this being looked into?  I feel somewhat
> ignored.
> 
> On 8/19/2010 2:47 PM, Shadowcat wrote:
> > Is there any news on this?  Answer to what I'm doing wrong?  Anything?
> > 
> > On 8/17/2010 4:56 AM, Shadowcat wrote:
> >> Can you tell me what I'm doing wrong here?  My code looks something like
> >> 
> >> this:
> >>        #include<cxxtools/http/client.h>
> >>        #include<iostream>
> >>        #include<exception>
> >>        
> >>        void http_request( )
> >>        {
> >>        
> >>            string str;
> >> 
> >> cxxtools::http::Client client( "www.google.com", 80 );
> >> 
> >>            try
> >>            {
> >>            
> >>                str = client.get( "/" );
> >>                cout<<   str;
> >>            
> >>            }
> >>            catch(const std::exception&e)
> >>            {
> >>            
> >>                cout<<   e.what() );
> >>            
> >>            }
> >>        
> >>        }
> >> 
> >> Every time I run the http_request() function, I get the exception "error
> >> reading HTTP reply body."  I've tried setting the server to localhost,
> >> getting files other than "/"... it always does the same thing.  If I
> >> leave out the / in the beginning and do something like client.get(
> >> "index.html" ), then it correctly reads the error file served by apache,
> >> but I can never get it to read anything other than that error message.
> >> Any idea what's wrong?
> >> 
> >> ------------------------------------------------------------------------
> >> ------ This SF.net email is sponsored by
> >> 
> >> Make an app they can't live without
> >> Enter the BlackBerry Developer Challenge
> >> http://p.sf.net/sfu/RIM-dev2dev
> >> _______________________________________________
> >> Tntnet-general mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/tntnet-general
> > 
> > -------------------------------------------------------------------------
> > ----- This SF.net email is sponsored by
> > 
> > Make an app they can't live without
> > Enter the BlackBerry Developer Challenge
> > http://p.sf.net/sfu/RIM-dev2dev
> > _______________________________________________
> > Tntnet-general mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/tntnet-general
> 
> ---------------------------------------------------------------------------
> --- This SF.net email is sponsored by
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Tntnet-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tntnet-general


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to