Add client_{lock,unlock} before call to non_block_events
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 28 Jan 2014 14:44:07 +0000 (15:44 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 28 Jan 2014 14:44:07 +0000 (15:44 +0100)
commit8c24d1e84b45566c30a05008bedf71cce42d3d05
treec9894cd72d2eebd895cbd3e6550d41ffb23d20a0
parenta50d5d492e9b63cec3f82a610f2bf0e1e470f9ae
Add client_{lock,unlock} before call to non_block_events

in connection_continue. Problem is that if non_block_events
fire records, then we will not unlock client at all. And as
a result a dead-lock occurs.
src/connection.c