IPv[46] parsing

Federico Schwindt fgsch at lodoss.net
Wed Nov 4 11:54:17 CET 2015


Attached.

On Wed, Nov 4, 2015 at 10:46 AM, Poul-Henning Kamp <phk at phk.freebsd.dk>
wrote:

> --------
> In message <
> CAJV_h0ZY3E4t5704qOHQbnQXJGxnh1hDgMneybuBFxN1jhWsgw at mail.gmail.com>
> , Federico Schwindt writes:
>
> >Any comments?
>
> Sounds sensible, send patch.
>
> >> My proposal
> >> -----------------
> >>
> >> Change 3 as follows:
> >>
> >> 3. If the string doesn't have a space, but has a single ":" take
> >> everything up to the ":" (but excluding it) as a host, and anything
> >> after as the port.  If the string has 2 or more ":", take the whole
> >> string as a host without port.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20151104/bb32b2b9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ip6.patch
Type: text/x-diff
Size: 504 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20151104/bb32b2b9/attachment.patch>


More information about the varnish-dev mailing list