projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Inactive clients gets there connections closed
[pazpar2-moved-to-github.git]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
d561906
..
630db75
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-108,6
+108,11
@@
ZOOM_connection connection_get_link(struct connection *co)
return co->link;
}
+void connection_mark_dead(struct connection *co)
+{
+ iochan_settimeout(co->iochan, 1);
+}
+
// Close connection and recycle structure
static void connection_destroy(struct connection *co)
{