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:
wcrisman
2014-07-13 13:46:29 -07:00
parent 2fc70088c1
commit 645a8c0a4b
2 changed files with 22 additions and 28 deletions

View File

@@ -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;