<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source3/lib/recvfile.c, branch talloc-2.3.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>lib: Move sys_rw* to lib/util</title>
<updated>2015-10-12T23:23:07+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2015-10-12T13:57:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=258ce91f3175196610b9db98c409749d33123038'/>
<id>258ce91f3175196610b9db98c409749d33123038</id>
<content type='text'>
genrand.c will require it soon

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
genrand.c will require it soon

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: Split out sys_[read|write] &amp; friends</title>
<updated>2014-12-06T23:12:07+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2014-11-19T13:33:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=97b2570a5e526273476d3990bcef0ac074b34d67'/>
<id>97b2570a5e526273476d3990bcef0ac074b34d67</id>
<content type='text'>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove a few #ifdef EWOULDBLOCk</title>
<updated>2014-09-18T18:36:11+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2014-09-16T22:25:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=fb9067c789263d5e2fcc26adb46463b974ccdaae'/>
<id>fb9067c789263d5e2fcc26adb46463b974ccdaae</id>
<content type='text'>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Martin Schwenke &lt;martin@meltin.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Martin Schwenke &lt;martin@meltin.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:smbd: let default_sys_recvfile() and sys_recvfile() cope with non-blocking sockets.</title>
<updated>2014-05-24T11:48:14+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2014-04-15T19:43:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b8ae6f8f57271fd4b8c57d5b800930b8558c1b4a'/>
<id>b8ae6f8f57271fd4b8c57d5b800930b8558c1b4a</id>
<content type='text'>
default_sys_recvfile() and splice() recvfile were not
written to cope with non-blocking sockets.

When either the socket read() or splice() return
-1 with errno EWOULDBLOCK or EAGAIN, if no bytes have been
processed yet, return -1 and let the caller set
blocking and retry. If bytes have been processed,
just return them as a short read and let the
caller retry with the remaining needed reads.

Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
default_sys_recvfile() and splice() recvfile were not
written to cope with non-blocking sockets.

When either the socket read() or splice() return
-1 with errno EWOULDBLOCK or EAGAIN, if no bytes have been
processed yet, return -1 and let the caller set
blocking and retry. If bytes have been processed,
just return them as a short read and let the
caller retry with the remaining needed reads.

Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:lib: use stack buffers in drain_socket() and default_sys_recvfile()</title>
<updated>2014-04-11T19:41:07+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2013-12-05T10:20:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f71780202a3e736432020cf894b138a06e4bb869'/>
<id>f71780202a3e736432020cf894b138a06e4bb869</id>
<content type='text'>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure drain_socket() operates on a blocking socket.</title>
<updated>2013-04-19T21:11:23+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2013-04-08T17:16:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=1b46db7b24a4f064706c2c7e712452135a3fed34'/>
<id>1b46db7b24a4f064706c2c7e712452135a3fed34</id>
<content type='text'>
Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Reviewed-by: Stefan (metze) Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Reviewed-by: Stefan (metze) Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Remove SMB_OFF_T, replace with off_t</title>
<updated>2012-04-05T23:47:43+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2012-04-05T04:53:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=6aa12fcb30c8f7246fd0215b1d808191c0d87668'/>
<id>6aa12fcb30c8f7246fd0215b1d808191c0d87668</id>
<content type='text'>
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T.

Andrew Bartlett

Autobuild-User: Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date: Fri Apr  6 01:47:43 CEST 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T.

Andrew Bartlett

Autobuild-User: Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date: Fri Apr  6 01:47:43 CEST 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Remove sys_lseek wrapper</title>
<updated>2012-04-05T00:39:08+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2012-03-28T01:37:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=43e9be8894a2eaf883453de78acbade7b391a53e'/>
<id>43e9be8894a2eaf883453de78acbade7b391a53e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Third part of fix for bug #8679 - recvfile code path using splice() on Linux leaves data in the pipe on short write.</title>
<updated>2011-12-31T04:45:10+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2011-12-31T04:45:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=5e6263960aaf1a5f9993cb7bb5646d36ff92b9cc'/>
<id>5e6263960aaf1a5f9993cb7bb5646d36ff92b9cc</id>
<content type='text'>
Fix default_sys_recvfile() to correctly cope with
short writes. Return the amount written. Return
-1 and set errno if no data could be written.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix default_sys_recvfile() to correctly cope with
short writes. Return the amount written. Return
-1 and set errno if no data could be written.
</pre>
</div>
</content>
</entry>
<entry>
<title>Second part of fix for bug #8679 - recvfile code path using splice() on Linux leaves data in the pipe on short write.</title>
<updated>2011-12-31T04:23:00+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2011-12-31T04:23:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a5715420e37b98038fe8f2c3028e4c6938400eed'/>
<id>a5715420e37b98038fe8f2c3028e4c6938400eed</id>
<content type='text'>
Split out the functionality of drain_socket() into a separate
function from default_sys_recvfile().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Split out the functionality of drain_socket() into a separate
function from default_sys_recvfile().
</pre>
</div>
</content>
</entry>
</feed>
