-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 20
-
Component/s: core-libs
HTTP Response Input Streams are `InputStream` instances returned by the `ResponseSubscribers::ofInputStream` method.
In this release, the default implementation of their `read` method was changed to throw an `IOException` if the thread performing this operation is interrupted, instead of ignoring the interruption.
If the thread invoking the `read` operation is interrupted while blocking on `read`:
* The request will be cancelled and the `InputStream` will be closed
* The thread interrupt status will be set to true
* An IOException will be thrown
In this release, the default implementation of their `read` method was changed to throw an `IOException` if the thread performing this operation is interrupted, instead of ignoring the interruption.
If the thread invoking the `read` operation is interrupted while blocking on `read`:
* The request will be cancelled and the `InputStream` will be closed
* The thread interrupt status will be set to true
* An IOException will be thrown