diff options
author | Volker Lendecke <vl@samba.org> | 2011-10-27 15:21:29 +0200 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-10-27 22:12:05 +0200 |
commit | a29f7e632f999af51a0e847331af4447b5710d8e (patch) | |
tree | 070baca1fc24c984d464b2d29a3ba807dd25a88b /tests | |
parent | 195ae03950b8130b8c3caed65123c87882af595e (diff) | |
download | samba-a29f7e632f999af51a0e847331af4447b5710d8e.tar.gz samba-a29f7e632f999af51a0e847331af4447b5710d8e.tar.bz2 samba-a29f7e632f999af51a0e847331af4447b5710d8e.zip |
s3-ctdb: Fix ctdb_read_req
If a complete request has come in already before we consumed it, the
ctdb_packet_fd_read_sync will block indefinitely. So always try packet_handler
first and only if that fails due to insufficient data, read from the socket.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Oct 27 22:12:05 CEST 2011 on sn-devel-104
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions