Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Jun : Receive buffer size for idHTTP.Post

www.cryer.info
Managed Newsgroup Archive

Receive buffer size for idHTTP.Post

Subject:Receive buffer size for idHTTP.Post
Posted by:"Rick Roen" (ri..@lakevalleyseed.com)
Date:Thu, 16 Jun 2005 17:04:53

D7
Indy 9.00.10

I have the following snippit of code:

//SSRequest is a TStringStream containg the request
MS := TMemoryStream.Create;

idHTTP1.Post(  'https://gatewaybeta.fedex.com/GatewayDC', SSRequest, MS);

When the reply information is long, I get truncated results in MS.  The
Fedex tech support says that they *never* truncate a reply, however I am
getting a truncated XML file in return. I can tell because of the missing
close tags at the end of the report.

When I check the MS.Size after the post it is 65366. I have saved this to a
file and confirmed that it is truncated.

I'm just checking here first since maybe somebody knows if Indy 9.00.10 has
some limit on the return buffer size?

Thanks,

Rick

Replies:

www.cryer.info
Managed Newsgroup Archive