You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Michajlo Matijkiw (JIRA)" <ji...@apache.org> on 2010/09/30 03:05:33 UTC
[jira] Commented: (HTTPCLIENT-1001) CacheEntryUpdater does not
properly update cache entry resource
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916331#action_12916331 ]
Michajlo Matijkiw commented on HTTPCLIENT-1001:
-----------------------------------------------
Please disregard the previous patch, I am currently working on another version that should be a little more elegant and make HTTPCLIENT-1003 easier.
Thanks,
Michajlo
> CacheEntryUpdater does not properly update cache entry resource
> ---------------------------------------------------------------
>
> Key: HTTPCLIENT-1001
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1001
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: Cache
> Reporter: Michajlo Matijkiw
> Attachments: cache_entry_updater_bug_test.patch, cache_update_fix.patch
>
>
> CacheEntryUpdater#updateCacheEntry() copies the old cache entry's resource, though I believe it should only do so if the response is a 304. Otherwise it should take the response from the server to update the entry. This method gets called when validating a cache entry and the server returns a 200 or 304.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org