<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source4/lib/stream, branch talloc-2.0.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>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>
<entry>
<title>s4:lib/stream: s/private/private_data</title>
<updated>2009-02-02T12:08:26+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-02-02T07:22:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=79ae2de00135b3047dcb835c14a3afac6eb168eb'/>
<id>79ae2de00135b3047dcb835c14a3afac6eb168eb</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/tevent: rename structs</title>
<updated>2008-12-29T19:46:40+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2008-12-29T19:24:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=183c379fe58ca60f5ef2d1f2033d035d4117ac8f'/>
<id>183c379fe58ca60f5ef2d1f2033d035d4117ac8f</id>
<content type='text'>
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"

for s in $list; do
	o=`echo $s | cut -d ':' -f1`
	n=`echo $s | cut -d ':' -f2`
	r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
	files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
	for f in $files; do
		cat $f | sed -e "s/struct $o/struct $n/g" &gt; $f.tmp
		mv $f.tmp $f
	done
done

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"

for s in $list; do
	o=`echo $s | cut -d ':' -f1`
	n=`echo $s | cut -d ':' -f2`
	r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
	files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
	for f in $files; do
		cat $f | sed -e "s/struct $o/struct $n/g" &gt; $f.tmp
		mv $f.tmp $f
	done
done

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>s4: fix LIBEVENTS dependencies and use more forward declarations</title>
<updated>2008-12-17T10:04:45+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2008-12-16T23:06:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=081f8883bafc11ca7c08f868ec19f1ea32071837'/>
<id>081f8883bafc11ca7c08f868ec19f1ea32071837</id>
<content type='text'>
We should only include events.h where we really need it
and prefer forward declarations of 'struct event_context'

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We should only include events.h where we really need it
and prefer forward declarations of 'struct event_context'

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix include paths to new location of libutil.</title>
<updated>2008-10-11T19:31:42+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2008-10-11T19:31:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=956599975573044f5f930ef23ce54c11db156ebe'/>
<id>956599975573044f5f930ef23ce54c11db156ebe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>packet: make it possible to free the packet_context from the send_callback</title>
<updated>2008-07-07T19:42:10+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2008-07-07T16:55:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8350a230939dbb734a6c4b9ffa665421f8f05821'/>
<id>8350a230939dbb734a6c4b9ffa665421f8f05821</id>
<content type='text'>
metze
(cherry picked from commit 20795c4a0d5f75561561470231de1a2fad2906ff)
(This used to be commit 5d5b4e4ab23e1c630dfde2b9f296681e3979c4e0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
metze
(cherry picked from commit 20795c4a0d5f75561561470231de1a2fad2906ff)
(This used to be commit 5d5b4e4ab23e1c630dfde2b9f296681e3979c4e0)
</pre>
</div>
</content>
</entry>
<entry>
<title>Use variables for source directory in remaining subsystems.</title>
<updated>2008-05-18T18:30:46+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2008-05-18T18:30:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=333c169529a3f64a28fcaff1056069867fd56a90'/>
<id>333c169529a3f64a28fcaff1056069867fd56a90</id>
<content type='text'>
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0)
</pre>
</div>
</content>
</entry>
<entry>
<title>Move object file lists to the Makefile.</title>
<updated>2008-03-03T17:25:28+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2008-03-03T17:25:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b29d47edcf2767d7f9e9f63332079c6e8e89946c'/>
<id>b29d47edcf2767d7f9e9f63332079c6e8e89946c</id>
<content type='text'>
(This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
</pre>
</div>
</content>
</entry>
<entry>
<title>r25522: Convert to standard bool types.</title>
<updated>2007-10-10T20:07:47+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2007-10-05T18:03:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=719a4ae0d32ab9ba817fd01f2b8f4cba220a8c60'/>
<id>719a4ae0d32ab9ba817fd01f2b8f4cba220a8c60</id>
<content type='text'>
(This used to be commit 5e814287ba475e12f8cc934fdd09b199dcdfdb86)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(This used to be commit 5e814287ba475e12f8cc934fdd09b199dcdfdb86)
</pre>
</div>
</content>
</entry>
<entry>
<title>r24780: More work allowing libutil to be used by external users.</title>
<updated>2007-10-10T20:03:10+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2007-08-29T13:07:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=0b91f3916430d0271eab867675d44c5439de40c2'/>
<id>0b91f3916430d0271eab867675d44c5439de40c2</id>
<content type='text'>
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
</pre>
</div>
</content>
</entry>
</feed>
