diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-11 11:25:13 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-02-11 12:13:54 +0100 |
commit | 16229e4cefb01c3bdf1cb1cef81f0eab1f1cc0e6 (patch) | |
tree | c3220192d6d6e63360b256165c019d1ed665a233 /source3/smbd | |
parent | 90c8de54a002d2038a1382c0d147026921a64227 (diff) | |
download | samba-16229e4cefb01c3bdf1cb1cef81f0eab1f1cc0e6.tar.gz samba-16229e4cefb01c3bdf1cb1cef81f0eab1f1cc0e6.tar.bz2 samba-16229e4cefb01c3bdf1cb1cef81f0eab1f1cc0e6.zip |
s3: Avoid a select call per smb
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 12:13:54 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 6c2908d6d5..20569d858c 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -2263,7 +2263,7 @@ static void smbd_server_connection_read_handler( if (from_client) { smbd_lock_socket(conn); - if (!fd_is_readable(fd)) { + if (lp_async_smb_echo_handler() && !fd_is_readable(fd)) { DEBUG(10,("the echo listener was faster\n")); smbd_unlock_socket(conn); return; |