Change in ovirt-engine[master]: core: Always use IPv4 for AJP
oschreib at redhat.com
oschreib at redhat.com
Thu Aug 15 12:33:35 UTC 2013
Ofer Schreiber has submitted this change and it was merged.
Change subject: core: Always use IPv4 for AJP
......................................................................
core: Always use IPv4 for AJP
Currently in the Apache configuration that we use for the connection to
the application server we use "localhost" as the address of the AJP
connector. This host name is usually translated to both the IPv6 ::1
address and the IPv4 127.0.0.1 address, and it looks like Apache always
tries first with the IPv6 address. But the application server doesn't
listen in the IPv6 address, only in the IPv4 address. This means that
the first attempt to connect is always rejected. Not a big issue, as the
web server retries inmediatelly with the IPv4 address, but this
generates an unnecessary roundtrip. This patch replaces "localhost"
with "127.0.0.1" so that the web server will always use IPv4.
Change-Id: I36ef2de20236f509b16b5bb7112d0f849e8e96e1
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M packaging/conf/ovirt-engine-proxy.conf.v2.in
1 file changed, 4 insertions(+), 4 deletions(-)
Approvals:
Ofer Schreiber: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/17980
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I36ef2de20236f509b16b5bb7112d0f849e8e96e1
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>
More information about the Engine-commits
mailing list