Re: [serf-dev] Re: Double compression over HTTPS

2012-11-14 Thread Lieven Govaerts
On Thu, Nov 15, 2012 at 1:01 AM, Greg Stein wrote: > > On Nov 14, 2012 1:44 AM, "Lieven Govaerts" wrote: >>... > > >> Implemented in serf r1692, with an API for applications to enable SSL >> compression. Which to be clear, I don't propose svn to use. > > This API would go into a 1.2 and 2.0, but

Re: [serf-dev] Re: Double compression over HTTPS

2012-11-14 Thread Greg Stein
On Nov 14, 2012 1:44 AM, "Lieven Govaerts" wrote: >... > Implemented in serf r1692, with an API for applications to enable SSL > compression. Which to be clear, I don't propose svn to use. This API would go into a 1.2 and 2.0, but if nobody is asking for it, then I'd suggest we don't spin those u

Re: Double compression over HTTPS

2012-11-13 Thread Lieven Govaerts
On Tue, Nov 13, 2012 at 8:41 AM, Lieven Govaerts wrote: > On Fri, Oct 5, 2012 at 11:51 AM, Lieven Govaerts wrote: >> Hi, >> >> >> >> when OpenSSL is built with zlib, it will automatically compress all data >> sent over an SSL connection. You can see this in the initial handshake >> "Client Hello"

Re: [serf-dev] Re: Double compression over HTTPS

2012-11-13 Thread Justin Erenkrantz
On Tue, Nov 13, 2012 at 2:41 AM, Lieven Govaerts wrote: > The proposed approach here is to disable SSL compression completely, > so in terms of the above that leaves us with scenario 2. > > Serf doesn't have an option currently to disable SSL compression from > the client side. I plan to add it i

Re: [serf-dev] Re: Double compression over HTTPS

2012-11-13 Thread Ivan Zhakov
On Tue, Nov 13, 2012 at 11:41 AM, Lieven Govaerts wrote: > On Fri, Oct 5, 2012 at 11:51 AM, Lieven Govaerts wrote: >> Hi, >> when OpenSSL is built with zlib, it will automatically compress all data >> sent over an SSL connection. You can see this in the initial handshake >> "Client Hello" and "Se

Re: Double compression over HTTPS

2012-11-12 Thread Lieven Govaerts
On Fri, Oct 5, 2012 at 11:51 AM, Lieven Govaerts wrote: > Hi, > > > > when OpenSSL is built with zlib, it will automatically compress all data > sent over an SSL connection. You can see this in the initial handshake > "Client Hello" and "Server Hello" where client and server agree on the > compres

Re: Double compression over HTTPS

2012-10-05 Thread Lieven Govaerts
On Fri, Oct 5, 2012 at 12:15 PM, Bert Huijben wrote: > +1 on this. > > > > Can you see if zlib is being used (after negotiation) before requesting > compression from the Server? > It's possible, openssl has functions SSL_get_current_compression and SSL_get_current_expansion for this purpose. I'll

RE: Double compression over HTTPS

2012-10-05 Thread Bert Huijben
+1 on this. Can you see if zlib is being used (after negotiation) before requesting compression from the Server? Just checking if the feature is available in openssl doesn't tell if the feature is compiled in at the other side. Using 1m9 (=69 seconds) and 109 seconds in the same table,