Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
0e3736c7
Commit
0e3736c7
authored
Dec 08, 2011
by
Michal 'vorner' Vaner
Browse files
[1429] Comments about blocking
parent
4220ef5a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/bin/bind10/bind10_src.py.in
View file @
0e3736c7
...
...
@@ -856,6 +856,9 @@ class BoB:
"Missing parameter " +
str(ke))
# FIXME: This call contains blocking IPC. It is expected to be
# short, but if it turns out to be problem, we'll need to do
# something about it.
token = self._socket_cache.get_token(protocol, addr, port,
share_mode, share_name)
return isc.config.ccsession.create_answer(0, {
...
...
@@ -873,6 +876,11 @@ class BoB:
"""
try:
fd = self._socket_cache.get_socket(token, unix_socket.fileno())
# FIXME: These two calls are blocking in their nature. An OS-level
# buffer is likely to be large enough to hold all these data, but
# if it wasn't and the remote application got stuck, we would have
# a problem. If there appear such problems, we should do something
# about it.
unix_socket.sendall(CREATOR_SOCKET_OK)
libutil_io_python.send_fd(unix_socket.fileno(), fd)
except Exception as e:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment