Idle timeout on HTTPS connections

2023-06-15 Thread Isaac Cruz
Hello everyone, I'm having issues trying to set an idle timeout on https connections on an asynchronous HTTPS server. This is what I'm doing: IOReactorConfig ioReactorConfig = IOReactorConfig.custom() .setIoThreadCount(4) .setSoTimeout(5000, TimeUnit.MILLI

RE: Idle timeout on HTTPS connections

2023-06-15 Thread Isaac Cruz
000, Isaac Cruz wrote: > > Hello everyone, > > > > I'm having issues trying to set an idle timeout on https connections > > on an asynchronous HTTPS server. This is what I'm doing: > > > >     IOReactorConfig ioReactorConfig = IOReactorConfig

RE: Idle timeout on HTTPS connections

2023-06-16 Thread Isaac Cruz
: HttpComponents Project Subject: Re: Idle timeout on HTTPS connections On Thu, 2023-06-15 at 13:42 -0400, Gary Gregory wrote: > You could try the 5.2.2 release candidate (see the vote thread). > > Gary > > On Thu, Jun 15, 2023, 12:08 Isaac Cruz wrote: > > > 5.2, I t

RE: Idle timeout on HTTPS connections

2023-06-16 Thread Isaac Cruz
: Re: Idle timeout on HTTPS connections On Fri, 2023-06-16 at 07:58 +, Isaac Cruz wrote: > I have tried setting handshakeTimeout in the > ServerHTTP1IOEventHandlerFactory constructor: > >     httpServer = new DefaultListeningIOReactor( >     new ServerHttp1IOEven

HttpCore 5.1.4: Get stats of sent/rcvd bytes

2022-09-23 Thread Isaac Cruz
Hi, I want to get statistics of sent and received bytes from an HTTP server. I had a working implementation on HttpCore 4.x using NHttpServerConnection.getMetrics() that were added up on closing connection. Then I migrated to HttpCore 5.1.x and that API disappeared, so what I am using is Async

RE: HttpCore 5.1.4: Get stats of sent/rcvd bytes

2022-09-24 Thread Isaac Cruz
: HttpCore 5.1.4: Get stats of sent/rcvd bytes On Fri, 2022-09-23 at 10:31 +, Isaac Cruz wrote: > Hi, > > I want to get statistics of sent and received bytes from an HTTP > server. I had a working implementation on HttpCore 4.x using > NHttpServerConnection.getMetrics() that w

RE: HttpCore 5.1.4: Get stats of sent/rcvd bytes

2022-09-25 Thread Isaac Cruz
stats of sent/rcvd bytes On Sun, 2022-09-25 at 05:27 +0000, Isaac Cruz wrote: > Sorry, I did not explain well, let me elaborate. > > On 4.x I was extending HttpAsyncService to override closed() method, > and as the parameter was a NHttpServerConnection object I could obtain > metr

[jira] [Created] (HTTPCORE-752) Idle timeout on HTTPS connection does not work

2023-06-16 Thread Isaac Cruz Ballesteros (Jira)
Isaac Cruz Ballesteros created HTTPCORE-752: --- Summary: Idle timeout on HTTPS connection does not work Key: HTTPCORE-752 URL: https://issues.apache.org/jira/browse/HTTPCORE-752 Project

[jira] [Commented] (HTTPCORE-752) Idle timeout on HTTPS connection does not work

2023-06-16 Thread Isaac Cruz Ballesteros (Jira)
[ https://issues.apache.org/jira/browse/HTTPCORE-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17733439#comment-17733439 ] Isaac Cruz Ballesteros commented on HTTPCORE-752: - [~olegk]

[jira] [Commented] (HTTPCORE-752) Idle timeout on HTTPS connection does not work

2023-06-16 Thread Isaac Cruz Ballesteros (Jira)
[ https://issues.apache.org/jira/browse/HTTPCORE-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17733446#comment-17733446 ] Isaac Cruz Ballesteros commented on HTTPCORE-752: - Yes, it works

[jira] [Created] (HTTPCORE-444) When using HTTPS server with NoConnectionReuseStrategy, connections are not closed

2017-02-01 Thread Isaac Cruz Ballesteros (JIRA)
Isaac Cruz Ballesteros created HTTPCORE-444: --- Summary: When using HTTPS server with NoConnectionReuseStrategy, connections are not closed Key: HTTPCORE-444 URL: https://issues.apache.org/jira/browse

[jira] [Commented] (HTTPCORE-444) When using HTTPS server with NoConnectionReuseStrategy, connections are not closed

2017-02-02 Thread Isaac Cruz Ballesteros (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15849815#comment-15849815 ] Isaac Cruz Ballesteros commented on HTTPCORE-444: - Oleg, Thanks

[jira] [Commented] (HTTPCORE-444) When using HTTPS server with NoConnectionReuseStrategy, connections are not closed

2017-02-02 Thread Isaac Cruz Ballesteros (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15849908#comment-15849908 ] Isaac Cruz Ballesteros commented on HTTPCORE-444: - Yes, I can imple

[jira] [Created] (HTTPCORE-357) Option to disable DNS lookup on SSLIOSession

2013-10-18 Thread Isaac Cruz Ballesteros (JIRA)
Isaac Cruz Ballesteros created HTTPCORE-357: --- Summary: Option to disable DNS lookup on SSLIOSession Key: HTTPCORE-357 URL: https://issues.apache.org/jira/browse/HTTPCORE-357 Project

[jira] [Commented] (HTTPCORE-357) Option to disable DNS lookup on SSLIOSession

2013-10-21 Thread Isaac Cruz Ballesteros (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800633#comment-13800633 ] Isaac Cruz Ballesteros commented on HTTPCORE-357: - Oleg, I've

[jira] [Commented] (HTTPCORE-357) Option to disable DNS lookup on SSLIOSession

2013-10-21 Thread Isaac Cruz Ballesteros (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800801#comment-13800801 ] Isaac Cruz Ballesteros commented on HTTPCORE-357: - Absolutel

[jira] [Commented] (HTTPCORE-357) Option to disable DNS lookup on SSLIOSession

2013-11-26 Thread Isaac Cruz Ballesteros (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832719#comment-13832719 ] Isaac Cruz Ballesteros commented on HTTPCORE-357: - Thank you very

[jira] [Created] (HTTPCORE-366) Infinite loop when using HTTPS server + NIO

2013-11-26 Thread Isaac Cruz Ballesteros (JIRA)
Isaac Cruz Ballesteros created HTTPCORE-366: --- Summary: Infinite loop when using HTTPS server + NIO Key: HTTPCORE-366 URL: https://issues.apache.org/jira/browse/HTTPCORE-366 Project

[jira] [Commented] (HTTPCORE-366) Infinite loop when using HTTPS server + NIO

2013-11-26 Thread Isaac Cruz Ballesteros (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832795#comment-13832795 ] Isaac Cruz Ballesteros commented on HTTPCORE-366: - Well let me tes

[jira] [Comment Edited] (HTTPCORE-366) Infinite loop when using HTTPS server + NIO

2013-11-26 Thread Isaac Cruz Ballesteros (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832795#comment-13832795 ] Isaac Cruz Ballesteros edited comment on HTTPCORE-366 at 11/26/13 5:5

[jira] [Commented] (HTTPCORE-366) Infinite loop when using HTTPS server + NIO

2013-11-27 Thread Isaac Cruz Ballesteros (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13833691#comment-13833691 ] Isaac Cruz Ballesteros commented on HTTPCORE-366: - Ok, I have app

[jira] [Commented] (HTTPCORE-366) Infinite loop when using HTTPS server + NIO

2013-11-27 Thread Isaac Cruz Ballesteros (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13833852#comment-13833852 ] Isaac Cruz Ballesteros commented on HTTPCORE-366: - I'm just

[jira] [Commented] (HTTPCORE-366) Infinite loop when using HTTPS server + NIO

2013-12-02 Thread Isaac Cruz Ballesteros (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836537#comment-13836537 ] Isaac Cruz Ballesteros commented on HTTPCORE-366: - Got it! So

[jira] [Comment Edited] (HTTPCORE-366) Infinite loop when using HTTPS server + NIO

2013-12-02 Thread Isaac Cruz Ballesteros (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836537#comment-13836537 ] Isaac Cruz Ballesteros edited comment on HTTPCORE-366 at 12/2/13 2:1

[jira] [Commented] (HTTPCORE-366) Infinite loop when using HTTPS server + NIO

2013-12-03 Thread Isaac Cruz Ballesteros (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13837721#comment-13837721 ] Isaac Cruz Ballesteros commented on HTTPCORE-366: - Ok I've t

[jira] [Commented] (HTTPCORE-366) Infinite loop when using HTTPS server + NIO

2013-12-04 Thread Isaac Cruz Ballesteros (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13839046#comment-13839046 ] Isaac Cruz Ballesteros commented on HTTPCORE-366: - Well I don'

[jira] [Commented] (HTTPCORE-366) Infinite loop when using HTTPS server + NIO

2013-12-05 Thread Isaac Cruz Ballesteros (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13839955#comment-13839955 ] Isaac Cruz Ballesteros commented on HTTPCORE-366: - The patch is

[jira] [Created] (HTTPCORE-719) Infinite loop when setIOSessionDecorator() is used

2022-07-20 Thread Isaac Cruz Ballesteros (Jira)
Isaac Cruz Ballesteros created HTTPCORE-719: --- Summary: Infinite loop when setIOSessionDecorator() is used Key: HTTPCORE-719 URL: https://issues.apache.org/jira/browse/HTTPCORE-719 Project

[jira] [Commented] (HTTPCORE-719) Infinite loop when setIOSessionDecorator() is used

2022-07-21 Thread Isaac Cruz Ballesteros (Jira)
[ https://issues.apache.org/jira/browse/HTTPCORE-719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17569478#comment-17569478 ] Isaac Cruz Ballesteros commented on HTTPCORE-719: - Thanks [~o

[jira] [Created] (HTTPCORE-727) EndpointDetails.getReceivedBytesCount() won't work under TLS

2022-10-31 Thread Isaac Cruz Ballesteros (Jira)
Isaac Cruz Ballesteros created HTTPCORE-727: --- Summary: EndpointDetails.getReceivedBytesCount() won't work under TLS Key: HTTPCORE-727 URL: https://issues.apache.org/jira/browse/HTTPCOR

[jira] [Commented] (HTTPCORE-727) EndpointDetails.getReceivedBytesCount() won't work under TLS

2022-11-02 Thread Isaac Cruz Ballesteros (Jira)
[ https://issues.apache.org/jira/browse/HTTPCORE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17627559#comment-17627559 ] Isaac Cruz Ballesteros commented on HTTPCORE-727: - Yes, it works

[jira] [Commented] (HTTPCORE-727) EndpointDetails.getReceivedBytesCount() won't work under TLS

2022-11-02 Thread Isaac Cruz Ballesteros (Jira)
[ https://issues.apache.org/jira/browse/HTTPCORE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17627619#comment-17627619 ] Isaac Cruz Ballesteros commented on HTTPCORE-727: - So I think ther

[jira] [Commented] (HTTPCORE-727) EndpointDetails.getReceivedBytesCount() won't work under TLS

2022-11-02 Thread Isaac Cruz Ballesteros (Jira)
[ https://issues.apache.org/jira/browse/HTTPCORE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17627675#comment-17627675 ] Isaac Cruz Ballesteros commented on HTTPCORE-727: - Yes, both sent

[jira] [Created] (HTTPCORE-283) Async server: NPE in AsyncNHttpServiceHandler when throwing a HttpException from NHttpRequestHandler.entityRequest

2011-11-25 Thread Isaac Cruz Ballesteros (Created) (JIRA)
://issues.apache.org/jira/browse/HTTPCORE-283 Project: HttpComponents HttpCore Issue Type: Bug Components: HttpCore NIO Affects Versions: 4.1.3 Reporter: Isaac Cruz Ballesteros Attachments: NHttpServer.java I want to implement a completely

[jira] [Updated] (HTTPCORE-283) Async server: NPE in AsyncNHttpServiceHandler when throwing a HttpException from NHttpRequestHandler.entityRequest

2011-11-25 Thread Isaac Cruz Ballesteros (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Isaac Cruz Ballesteros updated HTTPCORE-283: Attachment: NHttpServer.java > Async server: NPE

[jira] [Commented] (HTTPCORE-283) Async server: NPE in AsyncNHttpServiceHandler when throwing a HttpException from NHttpRequestHandler.entityRequest

2011-11-25 Thread Isaac Cruz Ballesteros (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13157100#comment-13157100 ] Isaac Cruz Ballesteros commented on HTTPCORE-283: - Sorry, the excep