varnish-cache:6.0

Last commit made on 2019-05-22
Get this branch:
git clone -b 6.0 https://git.launchpad.net/varnish-cache

Branch merges

Branch information

Name:
6.0
Repository:
lp:varnish-cache

Recent commits

2d37cff... by Dridi Boukelmoune <email address hidden> on 2019-05-22

Tolerate a null address string in std.ip()

A regression from d7a81fe82ca09c9f3b3a9fd67265de00da7a4315 and the
followup changes from #2993. The new VSS_Resolve{One,First} functions
expect a non-null address string.

Conflicts:
 lib/libvmod_std/vmod_std_conversions.c

41d3038... by Dridi Boukelmoune <email address hidden> on 2019-05-15

The fallback default port for std.ip() is always 80

Conflicts:
 lib/libvmod_std/vmod.vcc

68df82e... by Dridi Boukelmoune <email address hidden> on 2019-05-15

Increase std.ip() and std.port() coverage

Conflicts:
 bin/varnishtest/tests/m00011.vtc
 lib/libvmod_debug/vmod.vcc
 lib/libvmod_debug/vmod_debug.c

24c586c... by Dridi Boukelmoune <email address hidden> on 2019-05-15

Add an optional default port argument to std.ip()

And sync the documentation with the current behavior, part of which used
to be implicit.

Conflicts:
 lib/libvmod_std/vmod.vcc
 lib/libvmod_std/vmod_std_conversions.c

5618bad... by Dridi Boukelmoune <email address hidden> on 2019-05-09

Use AF_UNSPEC for the address family

Conflicts:
 lib/libvmod_std/vmod_std_conversions.c

d02d219... by Dridi Boukelmoune <email address hidden> on 2019-05-09

Add a VSS_ResolveFirst primitive as well

This is how std.ip is documented, so VSS_ResolveOne doesn't work there.
It might not be the only migration to VSS_ResolveOne that requires
attention.

Speaking of attention, VSA_Malloc may require some.

Conflicts:
 lib/libvmod_std/vmod_std_conversions.c

a7f46d1... by Dridi Boukelmoune <email address hidden> on 2019-05-09

Extract the resolution logic to vss_resolve

It can now be shared by established callback-based resolvers and the new
VSS_ResolveOne. This also changes the semantics of VSS_ResolveOne in the
sense that the port is now a default port, overriden by the address if
it contains one.

Also make it clear that VTCP was already relying on a VSS function that
didn't and still doesn't allow a null errp argument, while conversely
all VTCP_open call sites provide a valid errp argument.

bea21ef... by Dridi Boukelmoune <email address hidden> on 2019-05-09

Don't defer an std.ip() failure to WS_Alloc'ate

At this point the workspace already overflowed so there's no point
making further progress to fail on the next workspace operation.

Incidentally, we are failing for an IP conversion, not an integer.

Conflicts:
 lib/libvmod_std/vmod_std_conversions.c

49e207f... by Dridi Boukelmoune <email address hidden> on 2019-05-09

Improve vss_parse documentation

caf7d22... by Dridi Boukelmoune <email address hidden> on 2019-05-09

GC #include