-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gcoap_forward_proxy: only leave upstream validation for caching
Most of the caching operation was moved to the client code. Since the forward proxy is using that code for upstream messaging, interacting with the cache directly is not necessary anymore. The only cache-related thing necessary for the proxy is validating ETags from upstream. However, that can be done by just looking at the ETags from the upstream response (which may or may not have come from the cache).
- Loading branch information
Showing
2 changed files
with
57 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters