Skip to content
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

add timeout http-keep-alive to the router template #13051

Merged
merged 1 commit into from
Mar 7, 2017

Conversation

JacobTanenbaum
Copy link
Contributor

a customer reported that when using "timeout http-request" for slowloris
protection it can impact connections with keep-alive. The HAProxy router
sets "timeout http-keep-alive" to "timeout http-request" when the former
is set and the latter is not and that can degrade the performance of browsers
that do not expect such a low timeout for HTTP keep-alive connections.

I added this timeout in commit: 527899e and it was removed in
commit: a41ce2c. It looks like the removal was an oversight.

Bug 1391585

a customer reported that when using "timeout http-request" for slowloris
protection it can impact connections with keep-alive. The HAProxy router
sets "timeout http-keep-alive" to "timeout http-request" when the former
is set and the latter is not and that can degrade the performance of browsers
that do not expect such a low timeout for HTTP keep-alive connections.

I added this timeout in commit: 527899e and it was removed in
commit: a41ce2c. It looks like the removal was an oversight.

Bug 1391585
@JacobTanenbaum
Copy link
Contributor Author

@openshift/networking PTAL

Copy link
Contributor

@ramr ramr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pecameron
Copy link
Contributor

pecameron commented Feb 22, 2017

Where is ROUTER_SLOWLORIS_HTTP_KEEPALIVE documented?
One of the places where the doc goes is in docs PR3779 I will add it there. There is another list of env vars in arch core.

@JacobTanenbaum
Copy link
Contributor Author

JacobTanenbaum commented Feb 28, 2017

@pecameron added docs PR:3850

@pecameron
Copy link
Contributor

LGTM

@knobunc
Copy link
Contributor

knobunc commented Mar 7, 2017

[merge]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 7bfc0b9

@openshift-bot
Copy link
Contributor

openshift-bot commented Mar 7, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_future/908/) (Base Commit: 192e57e) (Image: devenv-rhel7_6048)

@openshift-bot openshift-bot merged commit 0963c7e into openshift:master Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants