diff --git a/Foundation Web Core/src/com/foundation/web/server/WebServer.java b/Foundation Web Core/src/com/foundation/web/server/WebServer.java index 88831d8..d40c3d7 100644 --- a/Foundation Web Core/src/com/foundation/web/server/WebServer.java +++ b/Foundation Web Core/src/com/foundation/web/server/WebServer.java @@ -555,6 +555,7 @@ public class WebServer { //Note: We are throddling this for active connections to prevent a single connection from hogging all the resources.// while(loopCount < 10 && result && count > 0) { loopCount++; + socketReadBuffer.clear(); count = channel.read(socketReadBuffer); socketReadBuffer.flip();