]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MAJOR] implemented client-side support for PF_UNIX sockets
authorWilly Tarreau <w@1wt.eu>
Tue, 16 Oct 2007 15:34:28 +0000 (17:34 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 18 Oct 2007 12:11:15 +0000 (14:11 +0200)
commit92fb9836ee4e9bc6ec21a6be0e8386dc41a25c1b
treedb3864d807352a9b018dea06d2b30aebda1f95ce
parentdd81598553d3f1be7b132086edcc090bad784b20
[MAJOR] implemented client-side support for PF_UNIX sockets

A new file, proto_uxst.c, implements support of PF_UNIX sockets
of type SOCK_STREAM. It relies on generic stream_sock_read/write
and uses its own accept primitive which also tries to be generic.

Right now it only implements an echo service in sight of a general
support for start dumping via unix socket. The echo code is more
of a proof of concept than useful code.
Makefile
Makefile.bsd
Makefile.osx
include/proto/proto_uxst.h [new file with mode: 0644]
include/types/global.h
include/types/protocols.h
src/proto_uxst.c [new file with mode: 0644]
src/session.c