On Wed, 23 Nov 2022 14:21:13 GMT, Darragh Clarke <[email protected]> wrote:
> Currently if a `HttpResonseInputStream` gets interrupted while reading it > will just swallow the exception and continue, > > This PR changes it to close the stream and throw an IOException, I added a > test to cover this which just uses two threads to read the stream then > interrupt it. This pull request has now been integrated. Changeset: 3aa4070d Author: Darragh Clarke <[email protected]> Committer: Jaikiran Pai <[email protected]> URL: https://git.openjdk.org/jdk/commit/3aa4070d4ca21b9e90388995efbcde318892e25f Stats: 190 lines in 3 files changed: 188 ins; 0 del; 2 mod 8294047: HttpResponseInputStream swallows interrupts Reviewed-by: dfuchs, vtewari, jpai ------------- PR: https://git.openjdk.org/jdk/pull/11323
