tomcat 8.5.23 can not modify maxconcurrentstream setting

2019-02-26 Thread Helena Carbajo
I'm trying to modify the value of MaxConcurrentStream for the tomcat server in order to check that it returns a STREAM_REFUSED when the client uses more streams, but I don't manage to change the default unlimited value. I've been inspecting the tomcat server code with a debugger and I saw it

tomcat 8.5.23 can not modify maxconcurrentstream setting

2019-02-27 Thread Helena Carbajo
>> See >> https://github.com/apache/tomcat/blob/8.5.x/test/org/apache/coyote/http2/TestHttp2Section_5_1.java#L174 >From what I see in the test a STREAM_REFUSED is returned when a the maxConcurrentStream is set to one. Yet I'd like to understand how this value is changed internally. I think

RE: tomcat 8.5.23 can not modify maxconcurrentstream setting

2019-02-27 Thread Helena Carbajo
Sent: martes, 26 de febrero de 2019 13:45 To: users@tomcat.apache.org Subject: Re: tomcat 8.5.23 can not modify maxconcurrentstream setting See https://github.com/apache/tomcat/blob/8.5.x/test/org/apache/coyote/http2/TestHttp2Section_5_1.java#L174 Mark On 26/02/2019 11:01, Helena Carbajo wrote: &g

Re: Get startTime of coyoteRequest object from RequestFacade

2019-03-06 Thread Helena Carbajo
you looking to measure request handling time? > > if so, startTime will not give you what you need since threads get > reused by many requests. > > Sincerely, > > John > > > On 3/6/19, Helena Carbajo wrote: > > >I want to know how much time my requests have to wa

Re: Get startTime of coyoteRequest object from RequestFacade

2019-03-06 Thread Helena Carbajo
n't it be possible to add a getter method for the field startTime and make it accesible through the RequestFacade method, as it is done with other fields? El mié., 6 mar. 2019 a las 9:07, Helena Carbajo (< helenacarbajoolm...@gmail.com>) escribió: > >Getting closer but my question sti

Re: Get startTime of coyoteRequest object from RequestFacade

2019-03-06 Thread Helena Carbajo
andle, but I finally manage to get it by inheritance. I just had to create the class in the same package. El mar., 5 mar. 2019 a las 21:55, Mark Thomas () escribió: > On 05/03/2019 14:29, Helena Carbajo wrote: > > >I can think of a couple of other ways of doing this but what problem > a

Re: Get startTime of coyoteRequest object from RequestFacade

2019-03-05 Thread Helena Carbajo
Helena El mar., 5 mar. 2019 a las 15:25, Mark Thomas () escribió: > I can think of a couple of other ways of doing this but what problem are > you trying to solve? > > Mark > > > On 05/03/2019 13:35, Helena Carbajo wrote: > > Hi! > > I'd like to get the st

Get startTime of coyoteRequest object from RequestFacade

2019-03-05 Thread Helena Carbajo
Hi! I'd like to get the startTime field of a request. The problem is that what I get is a RequestFacade, which has the org.apache.catalina.connector.Request object that holds the org.apache.coyote.Request object. Yet, the catalina.connector.Request is a protected field, and doesn't have a getter

Re: tomcat 8.5.23 can not modify maxconcurrentstream setting

2019-03-01 Thread Helena Carbajo
/apache/coyote/http2/Http2UpgradeHandler.java#L1333> >You may find enabling Tomcat's debug logging for HTTP/2 instructive. >Mark Thanks. I finally understood how it all works. Helena El vie., 1 mar. 2019 a las 10:44, Mark Thomas () escribió: > On 27/02/2019 08:37, Helena C

tomcat 8.5.23 not modifying maxconcurrentstream setting

2019-02-26 Thread Helena Carbajo
I'm trying to modify the value of MaxConcurrentStream for the tomcat server in order to check that it returns a STREAM_REFUSED when the client uses more streams, but I don't manage to change the default unlimited value. I've been inspecting the tomcat server code with a debugger and I saw it

Re: Get startTime of coyoteRequest object from RequestFacade

2019-03-07 Thread Helena Carbajo
tz.net>) escribió: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Helena, > > On 3/6/19 03:07, Helena Carbajo wrote: > >> Getting closer but my question still stands. What problem are you > >> trying to solve. > > > >> Note that by the

closedChannelException from time to time

2019-10-03 Thread Helena Carbajo
Hi, I'm using Tomcat versión 8.5.23 with http2 and from time to time I get some ClosedChannelException: {"message":"Failed to register socket with selector from