Fixed issue: NETTY-308 ChunkedInput implementations send only the first chunk

This commit is contained in:
Trustin Lee 2010-04-12 10:22:51 +00:00
parent cac77a47b2
commit d0d2519871
4 changed files with 4 additions and 4 deletions

View File

@ -130,7 +130,7 @@ public class ChunkedFile implements ChunkedInput {
}
public boolean isEndOfInput() throws Exception {
return hasNextChunk();
return !hasNextChunk();
}
public void close() throws Exception {

View File

@ -136,7 +136,7 @@ public class ChunkedNioFile implements ChunkedInput {
}
public boolean isEndOfInput() throws Exception {
return hasNextChunk();
return !hasNextChunk();
}
public void close() throws Exception {

View File

@ -97,7 +97,7 @@ public class ChunkedNioStream implements ChunkedInput {
}
public boolean isEndOfInput() throws Exception {
return hasNextChunk();
return !hasNextChunk();
}
public void close() throws Exception {

View File

@ -85,7 +85,7 @@ public class ChunkedStream implements ChunkedInput {
}
public boolean isEndOfInput() throws Exception {
return hasNextChunk();
return !hasNextChunk();
}
public void close() throws Exception {