Allow to configure keep-alive timeout
I use logstash http input module with nxlog client. Both applications does not support setting keep-alive timeouts. Nxlog uses hard-coded 300 seconds, logstash input http server uses hard coded 20 seconds. Either this plugin should read keep-alive header from the request or allow users to configure this value. The default 20 seconds is in puma server (configuration persistent_timeout, see https://github.com/puma/puma/blob/42580133a8e9bdb42f55371a7dd0d1dbb02364b9/lib/puma/configuration.rb).
An option could be allowed for users to override the default timeout offered by PUMA and reference this in the register method using @server.persistent_timeout = timeout_user_wants. Unfortunately I'm not sure how to replicate the "408 request timeout" response code so I cannot adequately test the solution.
any updates on this one?