Fix `DelegatingServletInputStream#available`
Ensure that the method returns the correct number of bytes that can be read without blocking Issue: #SPR-16416
This commit is contained in:
parent
165ca12e6d
commit
a0c9fdba12
|
@ -87,4 +87,9 @@ public class DelegatingServletInputStream extends ServletInputStream {
|
|||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int available() throws IOException {
|
||||
return this.sourceStream.available();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue