hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Patacchiola (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPCLIENT-1347) gzip responses doubly cached
Date Thu, 25 Apr 2013 13:16:16 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Adam Patacchiola updated HTTPCLIENT-1347:
-----------------------------------------

    Attachment: httpClientCacheTest.tar.gz

tests
                
> gzip responses doubly cached
> ----------------------------
>
>                 Key: HTTPCLIENT-1347
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1347
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: Cache
>    Affects Versions: 4.2.5
>         Environment: ARCH Linux kernel 3.8.8-1
> node.js 0.8.22
>            Reporter: Adam Patacchiola
>         Attachments: httpClientCacheTest.tar.gz
>
>
> Compressed responses are cached twice. 
> Run the attached server and client tests. Create an "asset"s directory under where you
are running the server and add two files named 1 and 2 ( < 1000000 bytes) . You will see
that after the test is run the cache dump output displays 2 sets of entries for each request,
each containing the full content length of the file.
> Changing the implementation of HttpCacheStorage updateEntry to not update non existent
entries (as I believe the correct implementation should do) throws exceptions. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message