You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cache key consist of uri + host header, however may be the case when http_chains is configured to route request to other vhost regardless host header. Therefore, after routing Tempesta will try to find/build cache record using the key that belongs to another vhost(specified in host header).
In this case, although we requesting app1 request will be forwarded to app2, but cache record will be stored using key / app1, however expected key is / app2.
To fix this issue we must take uri + vhost name to build the cache key instead of uri + host header.
Testing
Functional test must be implemented.
The text was updated successfully, but these errors were encountered:
Cache key consist of
uri + host header
, however may be the case whenhttp_chains
is configured to route request to other vhost regardless host header. Therefore, after routing Tempesta will try to find/build cache record using the key that belongs to another vhost(specified in host header).Example:
curl -H"Connection: close" http://app1
In this case, although we requesting
app1
request will be forwarded toapp2
, but cache record will be stored using key/ app1
, however expected key is/ app2
.To fix this issue we must take
uri + vhost name
to build the cache key instead ofuri + host header
.Testing
Functional test must be implemented.
The text was updated successfully, but these errors were encountered: