s3:smb2_server: propagate NTSTATUS from smb2_sendfile_send_data() to smbd_smb2_flush_...
commitd9716cb0dba788ffd1ef36167038c71405df28c4
authorStefan Metzmacher <metze@samba.org>
Fri, 11 Jul 2014 00:25:00 +0000 (11 02:25 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 6 Aug 2014 07:51:14 +0000 (6 09:51 +0200)
tree0fa5f72745b185832f3702d42eb48b039d4ea403
parent2f47729bebfaaa92b5c4eac97e9707329e4e5a4a
s3:smb2_server: propagate NTSTATUS from smb2_sendfile_send_data() to smbd_smb2_flush_send_queue()

Calling exit_server() from within a destructor is a bit ugly...

This will result in smbd_server_connection_terminate() instead of
directly calling exit_server(), which will be useful for multi-channel in
future.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/globals.h
source3/smbd/smb2_read.c
source3/smbd/smb2_server.c