[PATCH] add VCL_HasBackend() (Re: Preventing dup backend names with dynamic backends in VMODs)

Geoff Simmons geoff at uplex.de
Sun Nov 1 12:30:22 CET 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 11/01/2015 12:23 PM, Geoff Simmons wrote:
> 
> This patch adds VCL_HasBackend().

Forgot to mention about this -- it might be necessary to lock the
vcl_mtx while traversing the vcl->backend_list, since a backend may be
added while the query is executing.

- -- 
** * * UPLEX - Nils Goroll Systemoptimierung

Scheffelstraße 32
22301 Hamburg

Tel +49 40 2880 5731
Mob +49 176 636 90917
Fax +49 40 42949753

http://uplex.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWNffOAAoJEOUwvh9pJNURnDQP/ieNXfZGyY4BUg1zVYi8jIh+
aRrn9Fs2hK5XPENxw9bgqVzXAH1FO6H7D5ZSbnSyW0WmqucOROsM4e6WVB8VFVgu
UXVornIF3PNNbq+3fsRIkBW0PLo6N0cJjGf9cUY19zjRaNFe0MG0Jta4iAWnAfAY
mVts32OGiHQjmce/rU5sJLDWsQKcWZWfrobH83fC+lnLwCJj7FXJrlerffShXlIn
P1kl+pxLYJv/O1nPaqeLpf4KZXiCFX+KAMIYLndfj80qrU/GF38/xKRe4DTfP6F/
7xurYO3TL8c3E4NSP6c+bVk1MsX8IIXeQ5BS9R/U4EHgQOwXwSOWCEVzeLEC38ih
0X4mQEMx7L5xEmhfJw1bfJMHzRpUoLAxuF1vYeV+6QWNibBbQN4rqQpn8phd9nJN
NphN6fRxzoxQF9mcCAu3oE8pvD7YPSYRTNl31+QcaDgc7+/Le8JTkKoX6BCTKafX
RoMJbsEyYjP5lYLskhxLP98prFB2j5G1f0VrByv4BpH/UZNkCcb27LJlOtO+BQMO
qZDNG+FKkD+HO4g7wGicGHymedx/pwZGcV+JlrSyejCR4fo3ZvaXheXMEcVjruv0
KOP6PgdaxgkN9sO3zBxvD9hYzxwcp2GpfgiTuNH3bxf6/zhpqHl6JGII0LSqPqiL
wVrE6qrmRH+zu/9hG8q+
=BrxH
-----END PGP SIGNATURE-----



More information about the varnish-dev mailing list