users@glassfish.java.net

Re: GlassFish3 http-protocol HTTP/1.0

From: Ryan Lubke <ryan.lubke_at_oracle.com>
Date: Mon, 17 Jun 2013 11:30:01 -0700

Best I can tell, the version attribute is currently ignored. I haven't
dug through to see if it's an oversight or intentional. Regardless,
I'd recommend opening an issue.

Yuriy Basov wrote:
> Hi,
>
> I have a client legacy application which sends protocol version
> HTTP/1.0 request.
> GlassFish3 always replies with protocol version HTTP/1.1 which is fine
> for none secure connection. However, secured connection (HTTPS) fails
> on client side if response protocol version HTTP/1.1.
>
> Client App is able to process secure request HTTP/1.0 to
> https://google.com where response protocol version HTTP/1.0
>
> I created http-listener with port 8282 and protocol version HTTP/1.0.
> But protocol version setting has no effect and GlassFish replies
> HTTP/1.1 protocol version.
>
> <protocol name="http-listener-v1-0-protocol">
> <http default-virtual-server="server" version="HTTP/1.0">
> <file-cache></file-cache>
> </http>
> </protocol>
>
>
> Does GlassFish3 supports HTTP/1.0? It looks like protocol version is
> hard coded in the adapter.
>
> Does anyone know how to setup GlassFish3 to listen and reply protocol
> version HTTP/1.0?
>
> Thank you,
> Yuriy