You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2015/02/28 02:40:05 UTC

[jira] [Closed] (XERCESC-1968) Xerces livelocks while reading external DTD if socket closes prematurely

     [ https://issues.apache.org/jira/browse/XERCESC-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Cantor closed XERCESC-1968.
---------------------------------

Added to 3.1 branch, r1662877

> Xerces livelocks while reading external DTD if socket closes prematurely
> ------------------------------------------------------------------------
>
>                 Key: XERCESC-1968
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1968
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 3.0.1, 3.1.1
>         Environment: Windows 7 64bit, VS 2008 SP1, distributed and self-built binaries
>            Reporter: Charlie Lawrence
>            Assignee: Alberto Massari
>             Fix For: 3.1.2, 3.2.0
>
>         Attachments: XercesNetAccessorIssue.zip
>
>
> When loading an external DTD and if the socket on the other end closes before any data is read, xerces can get into a live-lock situation. 
> If the OS call "recv" returns 0, which it can, the loop in BinHTTPInputStreamCommon::sendRequest will spin forever.
> The attached contains an example and sample content which demonstrates the issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org