Article View: borland.public.cppbuilder.internet.socket
Article #1828Re: @RLebau - Modification of IdTCPConnection breaks existing apps
From: Remy Lebeau (TeamB)
Date: Mon, 09 Oct 2006 17:03
Date: Mon, 09 Oct 2006 17:03
25 lines
1578 bytes
1578 bytes
"Frank Gruber" <HVFDMIPUMFPS@spammotel.com> wrote in message
news:4529537f$1@newsgroups.borland.com...
> the last modification you made in IdTCPConnection::ReadStream
> breaks existing code of my application.
You are not using the latest code. That has already been fixed 5 months
ago. You are showing the old code that was buggy. These lines:
if not (E is EIdConnClosedGracefully) or not AReadUntilDisconnect then
begin
raise;
end;
Where changed to the following:
if (E is EIdConnClosedGracefully) and AReadUntilDisconnect then begin
Break;
end else begin
raise;
end;
Gambit
Technical Details
Message-ID:
<452a8159$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4529537f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5ec53a2bfef052d5 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <4529537f$1@newsgroups.borland.com> Subject: Re: @RLebau - Modification of IdTCPConnection breaks existing apps Date: Mon, 9 Oct 2006 10:03:29 -0700 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 69.169.4.232 Message-ID: <452a8159$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1160413529 69.169.4.232 (9 Oct 2006 10:05:29 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail