>But it does not work as expected. Any ideas why? You want to catch the situation when your backends are all unavailable? Then the obj.status probably won't be > 500 (error codes returned by the backend).
End your if/else block with a final else statement to catch all other situations (where the status code is unknown), use the std.fileread() there and that'll most likely catch the situation where your backends are unavailable. Regards, Mattias _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
