Closed lingmingyb closed 10 years ago
The only difference is that spdy proxy mode constructs absolute URI to request to the hop.
In SPDY, :path
is always path component of URI only. In order to forward the request to the HTTP proxy, we need to construct absolute URI using it, :host
and :scheme
.
Another question is that can spdycat connect to shrpx , or it can only communicates with a spdy server? Is there any spec that describes how to negotiate a SPDY connection with a spdy proxy for clients?
Thank you
spdycat does not support SPDY proxy. So it can communicate to shrpx in reverse proxy mode, but not in spdy proxy mode. There are no proxy specific negotiation. It requires NPN to select SPDY version just like ordinary SPDY connections.
In my understanding they all translate spdy/https to plain http to the backend, no matter the back end is a proxy(squid) or a server. So what is the difference?