[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-12 Thread Lyor Goldstein (Jira)
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17565939#comment-17565939 ] Lyor Goldstein commented on SSHD-1278: -- I don't understand the code and what you are

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-13 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17566274#comment-17566274 ] dgü commented on SSHD-1278: --- I may not have defined the problem well. Let me clarify: +For try-

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-13 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17566288#comment-17566288 ] dgü commented on SSHD-1278: --- +For ClientSession:+ {code:java} /* If timeout happens, no Client

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-13 Thread Lyor Goldstein (Jira)
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17566397#comment-17566397 ] Lyor Goldstein commented on SSHD-1278: -- {quote} I can not use {{try-with-resource}} b

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-13 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17566435#comment-17566435 ] dgü commented on SSHD-1278: --- Hello! Thank you for the response. I can not use _try-finally_ blo

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-14 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17566925#comment-17566925 ] dgü commented on SSHD-1278: --- Let me summarize the problem: I want to release resource after tim

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-14 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17566929#comment-17566929 ] dgü commented on SSHD-1278: --- It would be great if timeout occurs, resource is automatically clos

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-14 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17566930#comment-17566930 ] dgü commented on SSHD-1278: --- Is it possible to implement java.lang.AutoCloseable for resources t

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-14 Thread Lyor Goldstein (Jira)
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17566933#comment-17566933 ] Lyor Goldstein commented on SSHD-1278: -- {quote} It would be great if timeout occurs,

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-15 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567270#comment-17567270 ] dgü commented on SSHD-1278: --- Hello! {quote}the session is automatically closed if failed to conn

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-15 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567278#comment-17567278 ] dgü commented on SSHD-1278: --- bq.  ConnectFuture#cancel() doesn't close created session. bq. I b

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-15 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567279#comment-17567279 ] dgü commented on SSHD-1278: --- When I write about resource , I mean SSHD resources such as _Client

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-15 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567313#comment-17567313 ] dgü commented on SSHD-1278: --- Please don't get me wrong. I don't want you to write a code for me.

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-15 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567339#comment-17567339 ] dgü commented on SSHD-1278: --- Hello! If I'm not wrong I could find a workaround if _ConnectFutur

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-16 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567508#comment-17567508 ] dgü commented on SSHD-1278: --- If I'm not wrong, this can be a workaround if _AuthFuture#cancel()_

[jira] [Commented] (SSHD-1278) How to release client connection resources after connection timeout occurs ?

2022-07-20 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17569026#comment-17569026 ] dgü commented on SSHD-1278: --- If I'm not wrong, this can be a workaround if _OpenFuture#cancel()_