start of new file
[IRC.git] / Robust / src / Benchmarks / WebServerJava / WebServerThread.java
index 3704e2f596c27b8ab54bc035df5fa6a1bed13096..53782b5ac68e9dc47294ccc31eb2a067e11ed729 100644 (file)
@@ -91,8 +91,7 @@ public class WebServerThread extends Thread {
        } else if (op == 2) { /* Inventory */
            //          System.printString("DEBUG > Calling inventory transaction\n");
            httpresponse();
-           String towrite = inventorylist.inventory(); 
-           sock.write(towrite.getBytes());
+           inventorylist.inventory(sock);      
        } else { /* Error */ 
            //          System.printString("T > Error - Unknown transaction\n");
        }
@@ -161,7 +160,7 @@ public class WebServerThread extends Thread {
            int index = prefix.indexOf('/');//Parse the GET client request to find filename
            int end = prefix.indexOf('H');
            filename = prefix.subString((index+1), (end-1));
-           System.printString("\n");
+           //      System.printString("\n");
            return true;
        }
        return false;