[ 
https://issues.apache.org/jira/browse/RIPPLE-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980407#comment-13980407
 ] 

Brent Lintner commented on RIPPLE-57:
-------------------------------------

Thanks for the report (and massively sorry for delayed reply, being on spare 
time).

This is definitely valid.

This was something that fell through the cracks when some of us were hacking 
this feature some time ago (and never got addressed):

https://github.com/apache/incubator-ripple/blob/master/lib/server/proxy.js#L76

> Ripple proxy does not use gzip
> ------------------------------
>
>                 Key: RIPPLE-57
>                 URL: https://issues.apache.org/jira/browse/RIPPLE-57
>             Project: Apache Ripple
>          Issue Type: Bug
>         Environment: Windows 8, Chrome 33, wget, IIS server
>            Reporter: Ben Fondu
>
> When connecting to my webservice directly, I get a gzipped response. When 
> connecting through the Ripple API, the response is not gzipped.
> Wget output, directly:
> D:\Temp>wget --header="Accept-Encoding: gzip,deflate,sdch" 
> --no-check-certificate [redacted]
> SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
> syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
> --2014-04-02 10:12:23--  [redacted]
> Resolving [redacted]... 192.168.100.5
> Connecting to [redacted]|192.168.100.5|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 2940513 (2,8M) [application/json]
> Wget output, with proxy:
> D:\Temp>wget --header="Accept-Encoding: gzip,deflate,sdch" 
> --no-check-certificate 
> "https://rippleapi.herokuapp.com/xhr_proxy?tinyhippos_apikey=ABC&tinyhippos_rurl=[redacted]";
> SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
> syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
> --2014-04-02 10:13:17--  
> https://rippleapi.herokuapp.com/xhr_proxy?tinyhippos_apikey=ABC&tinyhippos_rurl=[redacted]
> Resolving rippleapi.herokuapp.com... 54.243.157.122
> Connecting to rippleapi.herokuapp.com|54.243.157.122|:443... connected.
> WARNING: cannot verify rippleapi.herokuapp.com's certificate, issued by 
> `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance 
> Server CA':
>   Unable to locally verify the issuer's authority.
> HTTP request sent, awaiting response... 200 OK
> Length: 60497796 (58M) [application/json]
> Some of my developers are on a slow line, so having to download 58MB instead 
> of 2.8MB is having a pretty big impact on their productivity.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to