Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yschimke committed Nov 24, 2024
1 parent 97b4901 commit d611e49
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions okhttp/src/main/kotlin/okhttp3/internal/ws/MessageInflater.kt
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@ class MessageInflater(
inflaterSource.readOrInflate(buffer, Long.MAX_VALUE)
} while (inflater.bytesRead < totalBytesToRead && !inflater.finished())

println("a")
if (noContextTakeover && inflater.bytesRead < totalBytesToRead) {
val left = totalBytesToRead - inflater.bytesRead
println("b $left")
throw IOException("additional bytes ($left) after inflation")
}
}
Expand Down

0 comments on commit d611e49

Please sign in to comment.