283513 Check endp.isOpen when blocking read
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@643 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
9ec5d83f5c
commit
b034d1ed4c
|
@ -4,6 +4,7 @@ jetty-7.0.0.RC3-SNAPSHOT
|
|||
+ Improved deferred authentication handling
|
||||
+ 285697 extract parameters if dispatch has query
|
||||
+ 282447 concurrent destinations in HttpClient
|
||||
+ 283513 Check endp.isOpen when blocking read
|
||||
|
||||
jetty-7.0.0.RC2 29 June 2009
|
||||
+ 283844 Webapp / TLD errors are not clear
|
||||
|
|
|
@ -1041,7 +1041,7 @@ public class HttpParser implements Parser
|
|||
parseNext();
|
||||
|
||||
// parse until some progress is made (or IOException thrown for timeout)
|
||||
while(_contentView.length() == 0 && !isState(HttpParser.STATE_END))
|
||||
while(_endp.isOpen() && _contentView.length() == 0 && !isState(HttpParser.STATE_END))
|
||||
{
|
||||
// Try to get more _parser._content
|
||||
parseNext();
|
||||
|
@ -1058,7 +1058,7 @@ public class HttpParser implements Parser
|
|||
parseNext();
|
||||
|
||||
// parse until some progress is made (or IOException thrown for timeout)
|
||||
while(_contentView.length() == 0 && !isState(HttpParser.STATE_END))
|
||||
while(_endp.isOpen() && _contentView.length() == 0 && !isState(HttpParser.STATE_END))
|
||||
{
|
||||
if (!_endp.blockReadable(maxIdleTime))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue