projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aef52e
)
Avoid dead-lock between host->mutex and session lock
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 20 Feb 2013 10:39:26 +0000
(11:39 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 20 Feb 2013 10:39:26 +0000
(11:39 +0100)
Simply do not call non_block_events. It does nothing in the case
of a timeout.
src/connection.c
patch
|
blob
|
history
diff --git
a/src/connection.c
b/src/connection.c
index
ce9b46d
..
4c165e0
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-319,8
+319,6
@@
static void connection_handler(IOCHAN iochan, int event)
{
ZOOM_connection_fire_event_timeout(co->link);
- non_block_events(cl, co);
-
remove_connection_from_host(co);
yaz_mutex_leave(host->mutex);
connection_destroy(co);