We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ae3ed commit 722333fCopy full SHA for 722333f
spring-core/src/main/java/org/springframework/core/io/buffer/DataBufferInputStream.java
@@ -124,7 +124,7 @@ public long skip(long n) throws IOException {
124
return 0L;
125
}
126
int skipped = Math.min(available(), n > Integer.MAX_VALUE ? Integer.MAX_VALUE : (int) n);
127
- this.dataBuffer.readPosition(Math.min(this.end, this.dataBuffer.readPosition() + skipped));
+ this.dataBuffer.readPosition(this.dataBuffer.readPosition() + skipped);
128
return skipped;
129
130
0 commit comments