Re: [squid-users] Proxy-Connection: Keep-Alive in POST Requests?

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Thu, 09 Sep 2010 10:34:55 +0200

ons 2010-09-08 klockan 14:46 +0900 skrev Mikio Kishi:

> It's still a feature, right ?
> On the Internet, there are some web applications which requires
> multi post requests in a http connection...

Applications which require some special relation between connection and
requests are per definition broken.

Connections in HTTP are hop-by-hop, not end-to-end. There is no relation
between connections made by clients to proxy and connections made by the
proxy to requested servers.

You can have N clients connections getting multiplexed over 1 server
connection. Or 1 persistent client connection getting it's requests
distributed over M server connections. Exact result depends on the
traffic and policy of client, proxy and webserver, but the key is that
client<->proxy and proxy<->server connections are fully independent.

An exception to this is if you are using NTLM or Negotiate(kerberos)
authentication, as those authentication protocols is not HTTP
authentication schemes but TCP connection authentication schemes in
direct violation with HTTP messaging rules.

Regards
Henrik
Received on Thu Sep 09 2010 - 08:34:59 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 09 2010 - 12:00:02 MDT