tot dumps core

Dag-Erling Smørgrav des at linpro.no
Fri Jul 14 15:40:31 CEST 2006


"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> I'm simply using getaddrinfo() wherever I can in order to not
> have to open that entire kettle of fish.
>
> If "[ip]:port" is ratified, then getaddrinfo() should be taught
> about it.

I believe getaddrinfo() knows about "[ip]" but expects the port number
in a separate argument.  The command-line parsing code needs to
recognize "[ip]:port" and split it into "[ip]" and "port".

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-dev mailing list