1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/lib/async_req
Jeremy Allison 0efcc94fb8 Fix bug #8197 - winbind does not properly detect when a DC connection is dead.
Only waiting for writability doesn't get fd errors back with poll.
So always begin by selecting for readability, and if we get it then
see if bytes were available to read or it really is an error condition.

If bytes were available, remove the select on read as we know we
will retrieve the error when we've finished writing and start
reading the reply (or the write will timeout or fail).

Metze and Volker please check.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Jun  6 21:53:16 CEST 2011 on sn-devel-104
2011-06-06 21:53:16 +02:00
..
async_sock.c Fix bug #8197 - winbind does not properly detect when a DC connection is dead. 2011-06-06 21:53:16 +02:00
async_sock.h Use sockaddr_storage in async sendto/recvfrom 2010-12-29 22:44:06 +01:00
wscript_build s3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript) 2011-02-14 13:38:53 +01:00