> -----Ursprüngliche Nachricht----- > Von: Eric Covener <cove...@gmail.com> > Gesendet: Mittwoch, 19. Februar 2020 17:41 > An: Apache HTTP Server Development List <dev@httpd.apache.org> > Betreff: KeepAliveTimeout vs. event issue > > IIUC event MPM can close keepalive connections up to 100ms than the > configured value. > > If other software parses the Keep-Alive response header and fudges the > result by e.g. tens of milliseconds for its own TTL to avoid races, > should we internally try to avoid these whole-second > keepalivetimeouts? For example under event adding the 100ms back in > so at worst the timeout occurs in the same timeout=X advertised?
Just to be sure I get the issue correct. You say that with event a keepalive connection might be kept open for x s + 100 ms if keepalivetimeout is configured to x? And the client thinks it is only kept open for x seconds as we announce timeout=x in the keep-alive header? I was not able to find any current RFC that describes the keep-alive response header. I only found what Mozilla documents here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive And there they say that timeout is the *minimum* time the connection is kept alive. So if we keep it open longer this would be fine. Or is it exactly the other way around? Does event close it after x s - 100 ms and hence earlier than announced? Regards Rüdiger