Article View: borland.public.cppbuilder.internet.web
Article #35Re: Weird Problem with Indy 9.0.50
From: Remy Lebeau (TeamB)
Date: Thu, 28 Feb 2008 17:44
Date: Thu, 28 Feb 2008 17:44
25 lines
1829 bytes
1829 bytes
"Colin B Maharaj" <noreply@myhost.com> wrote in message news:47c68994@newsgroups.borland.com... > 1. Create a Connection to the server that will take a while to finish > 2. While that connection is up abort that connection and create a > new one - but let the 1st thread still be active. Please show your actual code that reproduces the problem. > 4. Later when the 1st thread tries to send out it's data, > it will probably do some memory overrunning. If it is, then you likely coded it wrong, and are causing the overrun in your own code. > // Note connection was aborted earlier... > AThread->Connection->WriteStream(stream); > delete stream; // <-- Crashes here... Where is stream declared? Is it shared between both connections? Or does each connection have its own TStream? Gambit
Technical Details
Message-ID:
<47c6f56b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<47c68994@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,d888cf9603e8fd76 X-Google-Attributes: gidfeeec,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <47c68994@newsgroups.borland.com> Subject: Re: Weird Problem with Indy 9.0.50 Date: Thu, 28 Feb 2008 09:44:30 -0800 Lines: 27 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 207.178.157.90 Message-ID: <47c6f56b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1204221291 207.178.157.90 (28 Feb 2008 09:54:51 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail X-Original-Bytes: 1687