Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Mirror
sjrpc
Commits
7ae1d6eb
Commit
7ae1d6eb
authored
Feb 01, 2011
by
Antoine Millet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug with HUP event.
parent
c3e988ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sjrpc/client/simple.py
sjrpc/client/simple.py
+1
-1
sjrpc/server/simple.py
sjrpc/server/simple.py
+1
-1
No files found.
sjrpc/client/simple.py
View file @
7ae1d6eb
...
...
@@ -97,7 +97,7 @@ class SimpleRpcClient(ConnectionManager):
self
.
shutdown
()
if
event
&
select
.
EPOLLHUP
:
logging
.
error
(
'Socket HUP fd/
%s:
%s'
%
(
fd
,
err
)
)
logging
.
error
(
'Socket HUP fd/%s'
%
fd
)
self
.
shutdown
()
#TODO
def
all_connections
(
self
):
...
...
sjrpc/server/simple.py
View file @
7ae1d6eb
...
...
@@ -100,7 +100,7 @@ class SimpleRpcServer(ConnectionManager):
self
.
shutdown_client
(
fd
)
if
event
&
select
.
EPOLLHUP
:
logging
.
error
(
'Socket HUP fd/
%s:
%s'
%
(
fd
,
err
)
)
logging
.
error
(
'Socket HUP fd/%s'
%
fd
)
self
.
shutdown_client
(
fd
)
...
...
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