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:
0be537a
)
http_session_destroy: dont wait for active clients
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 22 Apr 2010 08:44:09 +0000
(10:44 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 22 Apr 2010 08:44:09 +0000
(10:44 +0200)
Because we have introduced client locking, each client owned by
a session will be notified that the session is gone.
src/http_command.c
patch
|
blob
|
history
diff --git
a/src/http_command.c
b/src/http_command.c
index
eecf63d
..
9b1825d
100644
(file)
--- a/
src/http_command.c
+++ b/
src/http_command.c
@@
-142,11
+142,6
@@
void http_session_destroy(struct http_session *s)
if (s->destroy_counter != s->activity_counter)
must_destroy = 0;
- /* only if there are no active Z39.50 clients we will allow it to be
- destroyed */
- if (session_active_clients(s->psession))
- must_destroy = 0;
-
s->destroy_counter = s->activity_counter = 0;
if (must_destroy)
{