RFC: first attempt at -a for Unix domain sockets

Geoff Simmons geoff at uplex.de
Mon Jul 10 12:56:07 CEST 2017


Hello all,

This commit on a fork of Varnish is a first stab at implementing UDS
as a listen address:

https://github.com/slimhazard/varnish-cache/commit/881a18613ceb86be5eca721200667d4bb0f20cf6

I've written some notes in the Wiki about issues that I think are
worth attention:

https://github.com/slimhazard/varnish-cache/wiki/First-implementation-of-listen@UDS

This is *not* a full-blown implementation of UDS for Varnish, and far
from everything foreseen in VIP17. But rather an effort to find out
what needs to be done as a basis for discussion and criticism.

It does successfully listen to a UDS and respond to requests, and adds
no additional space requirements to session workspace (the Wiki
explains how that works). It also passes 'make check' (although no
tests have been added yet for UDS).

So your comments are very much welcome.


Thanks,
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: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20170710/9e79ab95/attachment.pgp>


More information about the varnish-dev mailing list