Juan Hernandez has uploaded a new change for review.

Change subject: packaging: Fix timeout for /api for Apache < 2.4
......................................................................

packaging: Fix timeout for /api for Apache < 2.4

Versions of Apache older than 2.4 don't copy the setting of the proxy
timeout parameter from the Proxy directive to the ProxyPass directives.
To fix this this patch repeats the value of the timeout parameter in the
ProxyPass directive used for the RESTAPI.

Change-Id: I0196fed84c8415ace5dca6bb43822cef8a002629
Bug-Url: https://bugzilla.redhat.com/853045
Signed-off-by: Juan Hernandez <[email protected]>
---
M packaging/conf/ovirt-engine-proxy.conf.v2.in
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/13/16913/1

diff --git a/packaging/conf/ovirt-engine-proxy.conf.v2.in 
b/packaging/conf/ovirt-engine-proxy.conf.v2.in
index 7c63482..bb356ab 100644
--- a/packaging/conf/ovirt-engine-proxy.conf.v2.in
+++ b/packaging/conf/ovirt-engine-proxy.conf.v2.in
@@ -33,7 +33,12 @@
     </LocationMatch>
 
     <Location /api>
-        ProxyPass ajp://localhost:@JBOSS_AJP_PORT@/api
+        #
+        # The timeout has to be specified here again because versions of
+        # Apache older than 2.4 don't copy the setting from the Proxy
+        # directive:
+        #
+        ProxyPass ajp://localhost:@JBOSS_AJP_PORT@/api timeout=3600
 
         #
         # Remove the Expect headers from API requests (this is needed to fix a


-- 
To view, visit http://gerrit.ovirt.org/16913
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0196fed84c8415ace5dca6bb43822cef8a002629
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to