You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modproxy-dev@apache.org by Ian Holsman <ap...@holsman.net> on 2001/03/23 02:37:53 UTC

Problem with Reverse Proxies & Weblogic 5.1.0 & HTTP 1.1

just a heads up
Weblogic has a problem with the reverse proxy sending HTTP 1.1 request.

it returns the page OK, but it sits there for 60 seconds waiting for the 
next request
(which never comes)

how do I set up the r-proxy so it only sends 1.0 requests??? 
force-request-1.0 doesn't
seem to do anything on the r-proxy.

Cheers
Ian


Re: Problem with Reverse Proxies & Weblogic 5.1.0 & HTTP 1.1

Posted by Graham Leggett <mi...@sharp.fm>.
Ian Holsman wrote:

> just a heads up
> Weblogic has a problem with the reverse proxy sending HTTP 1.1 request.

Excuse the ignorance - what is weblogic?

> it returns the page OK, but it sits there for 60 seconds waiting for the
> next request
> (which never comes)

What sits for 60 seconds, the browser, the reverse proxy or the server?

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."

Re: Problem with Reverse Proxies & Weblogic 5.1.0 & HTTP 1.1

Posted by Christian von Roques <ro...@mti.ag>.
Ian Holsman <ap...@holsman.net> writes:
> just a heads up
> Weblogic has a problem with the reverse proxy sending HTTP 1.1 request.

The patch published on dev.apache.org:
http://dev.apache.org/dist/patches/apply_to_1.3-current/proxy_http1.1.patch
does not send HTTP/1.1 requests it sends HTTP/1.0 requests including a
``Connection: close'' header and removing any existing Keep-Alive:
headers.  Do you use this patch or something different?

The unpatched mod_proxy seems to remove Connection: headers, but
leaves Keep-Alive: headers alone.

> it returns the page OK, but it sits there for 60 seconds waiting for the 
> next request
> (which never comes)

A quick glance at the code seems to indicate that mod_proxy does not
shutdown(2) the sending side of the socket to the content provider
after having sent the request, but should call ap_bclose() after the
response-body has been passed through to the client.

Can you show us/me a tcpdump of the connection between the proxy and
Weblogic of a short request and reply.  Using something like
``tcpdump -s 65535 -x host Weblogic and port 80''?

        Christian.