<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib/tsocket/tsocket.c, branch master</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/tsocket: optimize tdgram_recvfrom_done() into tdgram_recvfrom_send()</title>
<updated>2025-07-17T08:59:37+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2025-05-16T14:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a8c208053306aa26c0faf1713bfcbc49d2825eda'/>
<id>a8c208053306aa26c0faf1713bfcbc49d2825eda</id>
<content type='text'>
For callers using tdgram_bsd_optimize_recvfrom() it is every useful
to know it data was already waiting in the socket.

In that case the result from tdgram_bsd_recvfrom_send() would
already report tevent_req_is_in_progress() as false.

But the result of tdgram_recvfrom_send() available to the
caller would see tevent_req_is_in_progress() reporting true.

With this change also the result of tdgram_recvfrom_send()
would report tevent_req_is_in_progress() as false,
which will be useful for callers, which would otherwise
set a timeout on the request.

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Ralph Boehme &lt;slow@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For callers using tdgram_bsd_optimize_recvfrom() it is every useful
to know it data was already waiting in the socket.

In that case the result from tdgram_bsd_recvfrom_send() would
already report tevent_req_is_in_progress() as false.

But the result of tdgram_recvfrom_send() available to the
caller would see tevent_req_is_in_progress() reporting true.

With this change also the result of tdgram_recvfrom_send()
would report tevent_req_is_in_progress() as false,
which will be useful for callers, which would otherwise
set a timeout on the request.

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Ralph Boehme &lt;slow@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/tsocket: add tstream_monitor_send/recv infrastructure</title>
<updated>2025-06-18T17:52:37+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2025-05-15T10:01:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=18e304487c9d247f093c890cde9d73c2a95daae1'/>
<id>18e304487c9d247f093c890cde9d73c2a95daae1</id>
<content type='text'>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Volker Lendecke &lt;vl@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: Volker Lendecke &lt;vl@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/tsocket: allow only one tstream_disconnect_send/recv</title>
<updated>2025-06-18T17:52:37+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2025-05-16T08:04:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=e1de81f297ce96ca07f7df0c3a34811f8f782fc9'/>
<id>e1de81f297ce96ca07f7df0c3a34811f8f782fc9</id>
<content type='text'>
And don't allow readv and writev anymore.

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Volker Lendecke &lt;vl@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And don't allow readv and writev anymore.

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Volker Lendecke &lt;vl@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/tsocket: make use of tevent_req_set_cleanup_fn() instead of talloc_set_destructor()</title>
<updated>2025-06-18T17:52:37+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2025-05-15T12:32:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c1fe1338155a3fcaf8082edba0dbb7768a071703'/>
<id>c1fe1338155a3fcaf8082edba0dbb7768a071703</id>
<content type='text'>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Volker Lendecke &lt;vl@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: Volker Lendecke &lt;vl@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tsocket: Use iov_buflen</title>
<updated>2024-08-06T16:29:33+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2024-07-12T15:58:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=6a0fc464df8d34a32289a5fcde9db2596bce6e5e'/>
<id>6a0fc464df8d34a32289a5fcde9db2596bce6e5e</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>tsocket: Fix some unreachable code</title>
<updated>2010-07-11T16:14:33+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2010-05-22T21:44:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=77a3858f2f25e84e8e23d82097be710195a250d5'/>
<id>77a3858f2f25e84e8e23d82097be710195a250d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tsocket: Fixed typo in LGPL header.</title>
<updated>2009-12-15T22:34:22+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@redhat.com</email>
</author>
<published>2009-12-15T11:56:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=ab04dd3be743806bf3c9cf9db4b5326ce0476bf5'/>
<id>ab04dd3be743806bf3c9cf9db4b5326ce0476bf5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Properly free a downlevel readv request. Metze, please check</title>
<updated>2009-06-27T21:17:49+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-06-27T18:04:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c687eb15d953006f1de1e02abad40365040a29f1'/>
<id>c687eb15d953006f1de1e02abad40365040a29f1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>It seems that IRIX doesn't have IOV_MAX</title>
<updated>2009-06-09T04:54:15+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-06-09T04:54:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c0965e0eec78a9900fabd0a55c7e8d8bfc64f4a4'/>
<id>c0965e0eec78a9900fabd0a55c7e8d8bfc64f4a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tsocket: add tstream_context infrastructure similar to tdgram_context</title>
<updated>2009-05-01T15:41:53+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-04-03T16:08:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8a090c4b8bb805bdc8debc8ca8ced5cd6f362d2e'/>
<id>8a090c4b8bb805bdc8debc8ca8ced5cd6f362d2e</id>
<content type='text'>
metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
metze
</pre>
</div>
</content>
</entry>
</feed>
