diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/reply.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 175c0156e8..082775f1ae 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -3454,6 +3454,10 @@ static void send_file_readX(connection_struct *conn, struct smb_request *req, goto nosendfile_read; } + if (smbd_server_conn->smb1.echo_handler.trusted_fde) { + goto nosendfile_read; + } + #if defined(WITH_SENDFILE) /* * We can only use sendfile on a non-chained packet |