logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: PoCo HTTP Client not releasing sockets: msg#00061

Subject: Re: PoCo HTTP Client not releasing sockets
On Mon, Dec 13, 2004 at 01:58:18PM -0800, Mathieu Longtin wrote:
> Done. I submitted it, its bug #8846.
> 
> The test only works on Linux, but I've seen the problem
> occur on windows as well. Anybody knows how to tell how
> many file descriptors a process has using perl calls?
> 
> -Mathieu

Process an HTTPS request.  When it's over, open a file, check
fileno(HANDLE), and close it.  Loop a few times.  An increasing file
descriptor number would indicate a leak.

Thanks for the RT ticket, and the attached test.

-- 
Rocco Caputo - http://poe.perl.org/




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>