[PATCH] std.ip() emits an error to the log and returns the fallback when there is insufficient workspace

Geoff Simmons geoff at uplex.de
Sun May 24 21:43:51 CEST 2015


Hello all,

The ip() function in VMOD std currently fails an assertion when there is
insufficient workspace: p = WS_Alloc(); AN(p)

With the attached patch, it emits an error message to the log using
VCL_Error and returns the fallback when this happens.


Best,
Geoff
-- 
** * * 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-std.ip-emits-an-error-to-the-log-and-returns-the-fal.patch
Type: text/x-patch
Size: 887 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20150524/195ebe36/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20150524/195ebe36/attachment.pgp>


More information about the varnish-dev mailing list