git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

http2 connection keepalive broken


Yann,

with the change http://svn.apache.org/r1819214 the keepalive handling in HTTP/2 was broken, as reported here

https://github.com/icing/mod_h2/issues/160

If the mpm_event connection state handling is not suitable to honoring a keepalive setting, we need to fix this. Keeping idle connections parked in fdqueue without occupying a thread seems to be one of event's advantages. mod_http2 did enable this by keeping the connection in CONN_STATE_WRITE_COMPLETION. The change places it in CONN_STATE_LINGER which means it is closed after 1 second, always.

Since you know event's connection state handling much better than me: what can we do to fix this?

Cheers,

Stefan


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache2-developers/msg03939.html on line 81
Call Stack
#TimeMemoryFunctionLocation
10.0006363032{main}( ).../msg03939.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache2-developers/msg03939.html on line 81
Call Stack
#TimeMemoryFunctionLocation
10.0006363032{main}( ).../msg03939.html:0