[ 
https://issues.apache.org/jira/browse/MRESOLVER-455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17796784#comment-17796784
 ] 

ASF GitHub Bot commented on MRESOLVER-455:
------------------------------------------

cstamas opened a new pull request, #398:
URL: https://github.com/apache/maven-resolver/pull/398

   And JDK transport did not close them in case of errors.
   
   ---
   
   https://issues.apache.org/jira/browse/MRESOLVER-455




> JDK transport: Improper handling of ofInputStream body handlers in case of 
> error
> --------------------------------------------------------------------------------
>
>                 Key: MRESOLVER-455
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-455
>             Project: Maven Resolver
>          Issue Type: Bug
>          Components: Resolver
>    Affects Versions: 2.0.0-alpha-1, 2.0.0-alpha-2, 2.0.0-alpha-3, 
> 2.0.0-alpha-4
>            Reporter: Tamas Cservenak
>            Priority: Major
>             Fix For: 2.0.0-alpha-5
>
>
> The JDK transport may cause JVM to become "stuck" and become unable to 
> cleanly exit.
> Based on [https://bugs.openjdk.org/browse/JDK-8308364] the problem is:
> In case of errors the response stream is not even touched (despite 
> ofInputStream handler is used), and hence if response contains some content 
> (ie. error page) the client will get stuck.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to