src/share/classes/sun/rmi/transport/proxy/HttpInputStream.java

Print this page

        

*** 68,79 **** if (line == null) throw new EOFException(); if (line.toLowerCase().startsWith(key)) { ! if (contentLengthFound) ! ; // what would we want to do in this case?? bytesLeft = Integer.parseInt(line.substring(key.length()).trim()); contentLengthFound = true; } --- 68,79 ---- if (line == null) throw new EOFException(); if (line.toLowerCase().startsWith(key)) { ! // if contentLengthFound is true ! // we should probably do something here bytesLeft = Integer.parseInt(line.substring(key.length()).trim()); contentLengthFound = true; }