forked from 3scale/APIcast
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Policy::Caching: issues when can't connect to backend.
New HTTP-NG coroutines return 0 when can't connect, so the caching policy fails on the second request used, because the cache status was updated with the an invalid status This changes makes sure that the response code is a valid one, so the caching status will report correctly. Fix: THREESCALE-4471 Reported-by:Jakub Smadis <[email protected]> Signed-off-by: Eloy Coto <[email protected]>
- Loading branch information
Showing
3 changed files
with
24 additions
and
2 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
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