[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-c-dev
Subject:    [jira] [Created] (XERCESC-1968) Xerces livelocks while reading
From:       "Charlie Lawrence (JIRA)" <xerces-c-dev () xml ! apache ! org>
Date:       2011-06-18 0:25:47
Message-ID: 420677115.17081.1308356747408.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]

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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic