You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/11/08 16:02:00 UTC

[jira] [Commented] (MRESOLVER-302) Introduce onSession close

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

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

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

   And make it use in new HTTP/2 transports.
   
   Note about implementation:
   * code integrating resolver (like Maven) 2 SHOULD switch to new session handling
   * code using resolver w/ managing it (like Mojos) does NOT have to move to new session handling (basically that code may work unchanged).
   
   In short, the R1 session handling is still present, but is deprecated and will emit warnings if application integrating Resolver 2.x still uses Resolver 1.x session handling and is about to use new Resolver 2.x features (like HTTP/2 transport) that require onSessionClose (and will produce leaks, unless they are one-time CLI apps).
   
   ---
   
   https://issues.apache.org/jira/browse/MRESOLVER-302




> Introduce onSession close
> -------------------------
>
>                 Key: MRESOLVER-302
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-302
>             Project: Maven Resolver
>          Issue Type: Improvement
>          Components: Resolver
>            Reporter: Tamas Cservenak
>            Assignee: Tamas Cservenak
>            Priority: Major
>             Fix For: 2.0.0
>
>
> The on session close callback, revisited.



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