mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
0efcc94fb8
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 |
||
---|---|---|
.. | ||
async_sock.c | ||
async_sock.h | ||
wscript_build |