On 29/05/2020 05:49, Arshiya Shariff wrote:
> Hi Mark ,
> 
>  
> 
> *We have upgraded the Embedded tomcat version from 9.0.22 to 9.0.35 *and
> tried setting the *keepAliveTimeout/connectionTimeout* to *40000ms / -1
> *, via the IntrospectionUtils by extending the Connector class:**
> 
>  
> 
> IntrospectionUtils./setProperty/( *this*, "keepAliveTimeout",
> String./valueOf/( keepAliveTimeout) );

Why not just call the relevant setter?

> But we see that the http2 Connection is closing in *20 seconds* with a
> GOAWAY on being idle , irrespective of the values configured .

As expected. You are setting the HTTP/1.x timeout, not the HTTP/2
timeout. They are sent independently because of the differences in how
the protocols work. What makes sense for an HTTP/1.1 connection might
not make sense for HTTP/2.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to