Hello experts,
I am not able to download the large file (>1GB) with the copyStream/copyStreamUnbuffered. It just returns with 0.
if the filesize is less than 1GB, the copyStream works. Do we have to set any HTTP fields before the copyStream ?
----
HTTPSTestServer srv;
HTTPSClientSession s("localhost", srv.port());
HTTPRequest request(HTTPRequest::HTTP_GET, url);
s.sendRequest(request);
HTTPResponse response;
std::istream& rs = s.receiveResponse(response);
std::ostringstream ostr;
size=StreamCopier::copyStream(rs, ostr);
---------
thanks ,
Balu





