July 30, 2009 02:57AM
Cliff Wells Wrote:
-------------------------------------------------------
> On Wed, 2009-07-29 at 17:50 -0400, komone wrote:
> > It is correct that Nginx can/will only establish
> a 1.0 connection to
> > an upstream application server?
>
> Yes.
>
Darn.

> > I can't see a way to make the proxy-pass honor
> 1.1 protocol.
> Is there a reason you need HTTP/1.1 to the
> backend? Most web apps
> should work with either.

Web app servers are generally connection oriented and HTTP/1.1 provides far better connection support. When a new connection is made the app server has session setup as well as connection setup on a per connection basis, so constraint to HTTP/1.0 is very restricting. Beyond that there are many other parts of HTTP/1.1 that enrich the protocol. Olivier mentioned just one with chunked encoding, but consider other types of transfer such as ranged requests, Further reasons include but are not limited to: Extensibility Caching Bandwidth optimization Network connection management Message transmission Internet address conservation Error notification Security, integrity, and authentication and Content negotiation

The 1.0 constraint is pretty dire for me. Do I have alternatives to proxy-pass/upstream that would allow me to use Nginx or should I be looking at another HTTP server?

Thanks
Steve
Subject Author Posted

Proxy pass, upstream and http/1.0

komone July 29, 2009 05:50PM

Re: Proxy pass, upstream and http/1.0

Cliff Wells July 29, 2009 06:23PM

Re: Proxy pass, upstream and http/1.0

Olivier B. July 29, 2009 07:00PM

Re: Proxy pass, upstream and http/1.0

Cliff Wells July 29, 2009 09:57PM

Re: Proxy pass, upstream and http/1.0

komone July 30, 2009 02:57AM

Re: Proxy pass, upstream and http/1.0

Marcus Clyne July 30, 2009 03:40AM

Re: Proxy pass, upstream and http/1.0

Cliff Wells July 30, 2009 04:44AM

Re: Proxy pass, upstream and http/1.0

komone July 30, 2009 06:10AM

Re: Proxy pass, upstream and http/1.0

Maxim Dounin July 30, 2009 07:41AM

Re: Proxy pass, upstream and http/1.0

komone July 30, 2009 08:36AM

Re: Proxy pass, upstream and http/1.0

Igor Sysoev July 30, 2009 08:40AM

Re: Proxy pass, upstream and http/1.0

Marcus Clyne August 17, 2009 02:21PM

Re: Proxy pass, upstream and http/1.0

Maxim Dounin August 18, 2009 04:15AM

Re: Proxy pass, upstream and http/1.0

Cliff Wells July 30, 2009 06:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 309
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready