-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keepalive timeout not configurable #404
Comments
The reason for 5 seconds is it's default for apache https 2.2+, but I totally agree this should be configurable. It should be an option of |
I was about to ask about the status of this but it looks like it was addressed in 4738d22. I have a use case for this feature and would prefer to depend on a full version instead of a git revision. Any chance of a release in the near future? Thanks for all the great work on |
@dgollahon Sure. Completely forgot to cut release. Will do in the nearest future |
@dgollahon released as 2.2.2 |
## 2.2.2 (2017-04-27) * [#404](httprb/http#404), [#405](httprb/http#405) Make keepalive timeout configurable. ([@nestegg])
I'm trying to keep a persistent connection open to a finicky API and am running into issues with the the keepalive timeout. A few questions:
The default timeout is set very short (5 seconds). What's the rationale for this?
It is not configurable through the API. Is this deliberate or an oversight?
If I were to provide a PR to address this, I'm thinking this should be an option passed to persistent() rather than timeout(). Thoughts?
The text was updated successfully, but these errors were encountered: