[ 
http://issues.apache.org/jira/browse/XERCESC-1467?page=comments#action_12330684 
] 

Alberto Massari commented on XERCESC-1467:
------------------------------------------

Ronald, you are right. I have changed the code to use 
BinHTTPURLInputStream::closesocket

> Socket 's' in the 'BinHTTPURLInputStream' constructor is never closed when an 
> exception occurs.
> -----------------------------------------------------------------------------------------------
>
>          Key: XERCESC-1467
>          URL: http://issues.apache.org/jira/browse/XERCESC-1467
>      Project: Xerces-C++
>         Type: Bug
>   Components: Utilities
>     Versions: 2.5.0
>     Reporter: Rogério Corrêa

>
> When an exception occurs in the constructor of the class 
> BinHTTPURLInputStream, the socket opened in the call to 'socket' is never 
> closed.
> I´m calling closesocket before every throw, but considering a socket object 
> maybe better.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to