BIND 10 #1428: Unix domain socket for sending sockets from boss
BIND 10 Development
do-not-reply at isc.org
Fri Nov 25 09:05:45 UTC 2011
#1428: Unix domain socket for sending sockets from boss
-------------------------------------+-------------------------------------
Reporter: vorner | Owner:
Type: task | Status: new
Priority: major | Milestone:
Component: Boss of BIND | Sprint-20111206
Sensitive: 0 | Keywords:
Sub-Project: Core | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Socket creator
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
This is a subtask of #802. It should add the ability to keep bunch of unix
domain sockets for sending the sockets from socket creator to components.
It should consist of these parts:
* A listening unix-domain socket is created somewhere in filesystem. The
name is stored in self._socket_path (as other parts will need the path,
and we want to be able to choose the path randomly in future).
* When anything connects to the listening socket, it is accepted and
kept.
* When a line comes over one of the kept sockets, the newline is stripped
and socket_request_handler is called with this string and the socket it
came from.
* When the remote closes one of the kept sockets, socket_consumer_dead is
called.
These functions are introduced in trac802 in boss (as stubs). They form
interface to the other subtasks.
--
Ticket URL: <https://bind10.isc.org/ticket/1428>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list