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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to