Article View: borland.public.cppbuilder.webservices.soap
Article #13Re: Leak in HTTPRio? in TOMCAT? No more Internet handles can be allocated
From: m.durliNOSPAM
Date: Mon, 15 Oct 2007 15:18
Date: Mon, 15 Oct 2007 15:18
36 lines
1969 bytes
1969 bytes
Hello Jean Marie, > service.Release(); // < (**) previous than deleting iRio, and following some other samples, I used: service = NULL; that doesn't give the AV and works, but as reported earlier, after some time (can be just some days or weeks) suddendly it crashes every webservice call with a: "No more Internet handles can be allocated - URL:urlname - SOAPAction:""" I'll change service=NULL to service.Release(); as per you reccomendation, but do you think it will behave differently in the long time? (I mean: do you think that using the NULL assignment was wrong and was the cause of the "No more internet handles...") Thank you very much! Mattia > > > >The call to 'service.Release()' will cleanup the iRIO instance (provided no >one else is holding on to references to 'service'). > >Let me know if the above does not help! > >Cheers, > >Bruneau. >
Technical Details
Message-ID:
<5617h39nh6a8or1q367rr663orgju4jhd4@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<c1fcg3tprri33t0o5fhc95k11c9j91mv4h@4ax.com> <47066cc1$1@newsgroups.borland.com> <80sjg399o3gcaoplp4b16659c10s8fs32n@4ax.com> <470eafa8$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11096a,bb6006ec953edc17 X-Google-Thread: 114096,bb6006ec953edc17 X-Google-Attributes: gid11096a,gid114096,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: m.durliNOSPAM@bo.nettuno.it Newsgroups: borland.public.cppbuilder.webservices.soap,borland.public.delphi.webservices.soap Subject: Re: Leak in HTTPRio? in TOMCAT? No more Internet handles can be allocated Date: Mon, 15 Oct 2007 17:18:35 +0200 Message-ID: <5617h39nh6a8or1q367rr663orgju4jhd4@4ax.com> References: <c1fcg3tprri33t0o5fhc95k11c9j91mv4h@4ax.com> <47066cc1$1@newsgroups.borland.com> <80sjg399o3gcaoplp4b16659c10s8fs32n@4ax.com> <470eafa8$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.9/32.560 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.140.21.234 X-Trace: newsgroups.borland.com 1192461514 213.140.21.234 (15 Oct 2007 08:18:34 -0700) Lines: 37 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail