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 "Charlie Lawrence (JIRA)" <xe...@xml.apache.org> on 2011/06/18 02:27:47 UTC
[jira] [Updated] (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 ]
Charlie Lawrence updated XERCESC-1968:
--------------------------------------
Attachment: XercesNetAccessorIssue.zip
> 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
> 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org