<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi Dridi,</p>
    <p>thanks for your comment. <br>
    </p>
    <pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
> I'd like to stress one more time that comparing bereq.backend to
> d1.backend() is likely to always fail because in the backend context
> you will should the resolved backend.


>From the log output for:

std.log("xxxxxxxx-vcl_backend_response-bereq: " + bereq.backend);
std.log("xxxxxxxx-vcl_backend_response-beresp: " + beresp.backend);
...     
std.log("xxxxxxxx-vcl_deliver: " + req.backend_hint);


**** v1    1.0 vsl|       1002 VCL_Log         b xxxxxxxx-vcl_backend_response-bereq: d1
**** v1    1.0 vsl|       1002 VCL_Log         b xxxxxxxx-vcl_backend_response-beresp: b1
...
**** v1    1.0 vsl|       1001 VCL_Log         c xxxxxxxx-vcl_deliver: d1

I got the impression that both "req.backend_hint" and "bereq.backend" hold the director (because they both output "d1") and that only "beresp.backend" holds the backend (because it outputs "b1").
Therefore I assumed that a comparison against "d1.backend()" would work for "req.backend_hint" and "bereq.backend" but not for  "beresp.backend".

Best,
Ronald 
</pre>
  </body>
</html>