Attempted a different fix to the streamed content code so that it is blocking (previous fix failed for an unknown reason, and the code was getting complex unnecessarily).
This commit is contained in:
@@ -255,7 +255,7 @@ public class WebServer {
|
||||
getResult = content.get(buffer);
|
||||
|
||||
if(getResult == IContent.CONTENT_PENDING) {
|
||||
result = false;
|
||||
result = false; //Should never occur currently: See StreamedContent's javadocs.//
|
||||
}//if//
|
||||
else if(getResult == IContent.CONTENT_END) {
|
||||
buffer = null;
|
||||
|
||||
Reference in New Issue
Block a user