Set client state to Client_Error on ZOOM errors
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 21 May 2010 09:47:02 +0000 (11:47 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 21 May 2010 09:47:02 +0000 (11:47 +0200)
commit76c3727aac232bb2b3606ff5744a0c1fe8d60976
treedece68555097f3c7603461323614159023ad5aa2
parent781dc14fa1b1efde27ef3befcb2da7ca84045eae
Set client state to Client_Error on ZOOM errors

This sets the state to a proper value -- nice for client statistics
but more importantly ensures that we don't reuse a ZOOM connection
that has a closed connection.
src/connection.c