1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00
Jeremy Allison 582ce5d6b5 s3: smbd: Fix AIX sendfile() for SMB2. Ensure we don't spin on EAGAIN.
For SMB2 the socket is set non-blocking. Ensure sendfile()
calls complete if they return EAGAIN by saving the socket state,
setting it blocking, doing the sendfile until completion and then
restoring the socket state.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13537

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Jul 20 15:14:24 CEST 2018 on sn-devel-144
2018-07-20 15:14:24 +02:00
..
2018-05-12 02:09:26 +02:00
2017-10-20 20:03:12 +02:00
2016-07-28 05:00:18 +02:00
2017-05-10 15:53:20 +02:00
2017-02-15 02:28:16 +01:00
2017-01-22 18:30:11 +01:00
2017-11-29 16:59:16 +01:00
2015-11-06 13:43:45 +01:00
2015-10-13 01:23:07 +02:00
2017-12-05 04:58:26 +01:00
2018-06-19 08:59:11 +02:00
2016-02-23 22:03:16 +01:00
2016-02-23 22:03:16 +01:00
2015-02-13 23:32:07 +01:00
2016-02-23 22:03:16 +01:00
2015-03-17 11:30:52 +01:00
2017-01-22 18:30:11 +01:00
2018-02-20 21:55:13 +01:00
2016-12-28 20:17:12 +01:00
2016-01-10 22:24:17 +01:00
2016-01-10 22:24:17 +01:00
2016-12-28 20:17:13 +01:00