BIND 10 #1429: Commands for sockets
BIND 10 Development
do-not-reply at isc.org
Fri Nov 25 09:16:55 UTC 2011
#1429: Commands for sockets
-------------------------------------+-------------------------------------
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 subtask of #802 and will connect code created in #1427 and #1428
together. The interfaces are already created as part of trac802 branch, so
this doesn't have to wait for the other subtasks.
It should:
* Create the _socket_cache as isc.bind10.socket_cache.Cache after the
socket creator is created.
* Create a CC command for requesting a socket. It should call the
_socket_cache.get_token and send the token returned and the path for unix
domain socket (in _socket_path) back over the CC.
* Create a command to release a socket (identified by a corresponding
token). It should call the _socket_cache.drop_socket.
* Implement the socket_request_handler. It should call the
_socket_cache.get_socket and send the socket over unix_socket. Something
from the unix_socket (maybe the filenum?) should be used as the
application identifier parameter of get_socket.
* Implement the socket_consumer_dead. It should call
_socket_cache.drop_application.
--
Ticket URL: <http://bind10.isc.org/ticket/1429>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list