<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source4/lib/stream/packet.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>s4/lib: remove packet_full_request_u16, not used anymore</title>
<updated>2023-10-25T22:23:38+00:00</updated>
<author>
<name>Ralph Boehme</name>
<email>slow@samba.org</email>
</author>
<published>2016-09-21T01:05:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=53d874455437ca3627062893cba1a2713d338f17'/>
<id>53d874455437ca3627062893cba1a2713d338f17</id>
<content type='text'>
Signed-off-by: Ralph Boehme &lt;slow@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Ralph Boehme &lt;slow@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:lib: Fix code spelling</title>
<updated>2023-08-14T21:45:29+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@samba.org</email>
</author>
<published>2023-08-03T12:32:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=783eff3f76d0df30d99a3c197e2610f97d255bce'/>
<id>783eff3f76d0df30d99a3c197e2610f97d255bce</id>
<content type='text'>
Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a comment typo copied around</title>
<updated>2020-08-17T19:35:38+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2020-08-09T14:14:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f05f40316dd95a01d765095f431a652cb548894e'/>
<id>f05f40316dd95a01d765095f431a652cb548894e</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>dlist: remove unneeded type argument from DLIST_ADD_END()</title>
<updated>2016-02-06T20:48:17+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2016-02-05T10:32:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=476672b647e44898a6de8894b23e598ad13b1fcf'/>
<id>476672b647e44898a6de8894b23e598ad13b1fcf</id>
<content type='text'>
Signed-off-by: Michael Adam &lt;obnox@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: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4 dns: Fix TCP handling in the DNS server</title>
<updated>2012-03-06T20:17:18+00:00</updated>
<author>
<name>Kai Blin</name>
<email>kai@samba.org</email>
</author>
<published>2012-03-06T07:49:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c7f67142c0693e73355e1a5748f729fad04415e0'/>
<id>c7f67142c0693e73355e1a5748f729fad04415e0</id>
<content type='text'>
Autobuild-User: Kai Blin &lt;kai@samba.org&gt;
Autobuild-Date: Tue Mar  6 21:17:19 CET 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Autobuild-User: Kai Blin &lt;kai@samba.org&gt;
Autobuild-Date: Tue Mar  6 21:17:19 CET 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:lib/stream: make use of smb_len_tcp()</title>
<updated>2011-10-19T13:44:29+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2011-10-19T12:00:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b0480f26ca3823d618f85f381700fcd23d299220'/>
<id>b0480f26ca3823d618f85f381700fcd23d299220</id>
<content type='text'>
metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
metze
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:lib: use tevent_ fns names instead of legcay event_ ones</title>
<updated>2011-08-13T13:54:16+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>ssorce@redhat.com</email>
</author>
<published>2010-05-25T19:28:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=15efcbaa09472b306a875178ee535a06d1b01811'/>
<id>15efcbaa09472b306a875178ee535a06d1b01811</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>s4-packet: make packet_recv_disable() a lot more efficient</title>
<updated>2010-09-07T02:55:27+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2010-09-07T01:55:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a8bac4a09a4a81c280c62fb4dcdbd0e61c782479'/>
<id>a8bac4a09a4a81c280c62fb4dcdbd0e61c782479</id>
<content type='text'>
this avoids doing an epoll system call when we want to prevent receipt
of packets on a socket, unless there actually is a packet to receive.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this avoids doing an epoll system call when we want to prevent receipt
of packets on a socket, unless there actually is a packet to receive.
</pre>
</div>
</content>
</entry>
<entry>
<title>s4: spelling error</title>
<updated>2009-10-18T04:56:16+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-10-18T04:56:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=81eb31f07b6c8802021ff524646323c2aa6e3af5'/>
<id>81eb31f07b6c8802021ff524646323c2aa6e3af5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Worked around a problem with select/poll/epoll and gnutls </title>
<updated>2009-02-18T06:37:45+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-02-18T06:37:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=bb7e6f0f51a91e461c18efd392af3e4fc6174c34'/>
<id>bb7e6f0f51a91e461c18efd392af3e4fc6174c34</id>
<content type='text'>
Our packet layer relies on the event system reliably telling us when a
packet is available. When we are using a socket layer like TLS then
things get a bit trickier, as there may be bytes in the encryption
buffer which could be read even if there are no bytes at the socket
level. The GNUTLS library is supposed to prevent this happening by
always leaving some data at the socket level when there is data to be
processed in its buffers, but it seems that this is not always
reliable.

To work around this I have added a new packet option
packet_set_unreliable_select() which tells the packet layer to not
assume that the socket layer has a reliable select, and to instead
keep trying to read from the socket until it gets back no data. This
option is set for the ldap client and server when TLS is negotiated.

This seems to fix the problems with the ldaps tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Our packet layer relies on the event system reliably telling us when a
packet is available. When we are using a socket layer like TLS then
things get a bit trickier, as there may be bytes in the encryption
buffer which could be read even if there are no bytes at the socket
level. The GNUTLS library is supposed to prevent this happening by
always leaving some data at the socket level when there is data to be
processed in its buffers, but it seems that this is not always
reliable.

To work around this I have added a new packet option
packet_set_unreliable_select() which tells the packet layer to not
assume that the socket layer has a reliable select, and to instead
keep trying to read from the socket until it gets back no data. This
option is set for the ldap client and server when TLS is negotiated.

This seems to fix the problems with the ldaps tests.
</pre>
</div>
</content>
</entry>
</feed>
