Inactive clients gets there connections closed
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 7 Mar 2014 13:50:16 +0000 (14:50 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 7 Mar 2014 13:50:16 +0000 (14:50 +0100)
commit15e9827798d09d1afda3304d021bf464fb997624
treefffe7d2b37306dfc8b67e32604efca0baeb6def8
parent96b49f6cc22b7c86576262cafc8ceac6fe92bf65
Inactive clients gets there connections closed

The trick is to set a 1 second timeout on the channel.
src/client.c
src/client.h
src/connection.c
src/connection.h
src/session.c