[PATCH] ConnStateData flexible transport support

2014-04-28 Thread Amos Jeffries
We are quickly approaching a time when a client connection can freely migrate between protocols or versions of protocols. Already we have ssl-bump which can switch a connection from HTTP to HTTPS. I am expecting switching HTTP-HTTPS via Upgrade, and HTTP/1-HTTP/2 via magic, Upgrade, or ALPN.

Re: [PATCH] rock fixes and improvements

2014-04-28 Thread Amos Jeffries
On 27/04/2014 6:09 a.m., Alex Rousskov wrote: Hello, The attached patch contains several fixes and improvements of the shared memory and rock disk caching code, some of them quite important. Here is the summary (detailed change descriptions are quoted at the end of this message): in

Re: [PATCH] cache_peer standby=N

2014-04-28 Thread Alex Rousskov
On 04/27/2014 10:02 PM, Amos Jeffries wrote: We should state the problem with idles clearly (yes it is difficult to word), We already do that: + max-conn limit works poorly when there is a relatively + large number of idle persistent connections with

Re: [PATCH] ConnStateData flexible transport support

2014-04-28 Thread Alex Rousskov
On 04/28/2014 07:10 AM, Amos Jeffries wrote: * ssl-bump transforms the transportVersion from whatever it was previously (usually HTTP or HTTPS) to HTTPS. +/// the transport protocol currently being spoken on this connection +AnyP::ProtocolVersion transportVersion; If I recall our