<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib/socket_wrapper/socket_wrapper.c, 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>Partially revert restriction of socket_wrapper to 1500 byte writes</title>
<updated>2009-06-19T04:36:06+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2009-06-19T03:25:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=17e1cbb6d33614aaf5b6d8aaf4c6cf0dab84dfa6'/>
<id>17e1cbb6d33614aaf5b6d8aaf4c6cf0dab84dfa6</id>
<content type='text'>
This keeps the restriction for stream sockets (where the caller will
retry), without creating problems on datagram sockets (CLDAP is not
defined, as far as I know, across multiple UDP packets).

The commit adding this restriction was
47b106c0ae8b91c9cccfc21bf8e4e416b1abfd5d

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This keeps the restriction for stream sockets (where the caller will
retry), without creating problems on datagram sockets (CLDAP is not
defined, as far as I know, across multiple UDP packets).

The commit adding this restriction was
47b106c0ae8b91c9cccfc21bf8e4e416b1abfd5d

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed socket wrapper to determine family from the right structure</title>
<updated>2009-06-09T03:33:09+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-06-09T03:33:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=03dd06de9ae7b3692fd2ab141c0522abacbaec31'/>
<id>03dd06de9ae7b3692fd2ab141c0522abacbaec31</id>
<content type='text'>
In convert_in_un_remote() the socket family can be accessed either as
si-&gt;family or inaddr-&gt;sa_family. We were using the si-&gt;family to
determine how to cast the inaddr structure, but if si-&gt;family !=
inaddr-&gt;sa_family then we will incorrectly be casting a in6 structure
as in4 or vice-versa.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In convert_in_un_remote() the socket family can be accessed either as
si-&gt;family or inaddr-&gt;sa_family. We were using the si-&gt;family to
determine how to cast the inaddr structure, but if si-&gt;family !=
inaddr-&gt;sa_family then we will incorrectly be casting a in6 structure
as in4 or vice-versa.
</pre>
</div>
</content>
</entry>
<entry>
<title>socket_wrapper Cope with SOCK_CLOEXEC and SOCK_NONBLOCK flags</title>
<updated>2009-06-04T04:19:17+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2009-06-04T04:14:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4c70a5b405d2ee6b8a47118fd731a0fb64dda2ff'/>
<id>4c70a5b405d2ee6b8a47118fd731a0fb64dda2ff</id>
<content type='text'>
Heimdal will, on supporting systems, set these flags in the type
argument of socket(), causing breakage when combined with
socket_wrapper.

For background on these flags, see http://lwn.net/Articles/281965/

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Heimdal will, on supporting systems, set these flags in the type
argument of socket(), causing breakage when combined with
socket_wrapper.

For background on these flags, see http://lwn.net/Articles/281965/

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for sendmsg() in socket_wrapper</title>
<updated>2009-05-26T02:37:09+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2009-05-26T01:43:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=86039855759ce38e6074f956073199b0ccd29bdf'/>
<id>86039855759ce38e6074f956073199b0ccd29bdf</id>
<content type='text'>
This is required because the deferred connect code skips the connect()
until sending the packet, but unless we catch this call, the connect()
never happens.

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is required because the deferred connect code skips the connect()
until sending the packet, but unless we catch this call, the connect()
never happens.

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>socket_wrapper: fix the build on systems without ipv6 support</title>
<updated>2009-04-14T10:47:18+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-04-14T10:45:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=74707e8e8e1be2cbaa71fb0442957be2e663cbde'/>
<id>74707e8e8e1be2cbaa71fb0442957be2e663cbde</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>socket_wrapper: fix crash bug in swrap_readv/writev</title>
<updated>2009-04-10T17:38:29+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-04-08T17:08:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f20f5ae8e6b9ca5c90441a3083f6904168388fdf'/>
<id>f20f5ae8e6b9ca5c90441a3083f6904168388fdf</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>socket_wrapper: fix connect() for dgram sockets, if the destination isn't there yet</title>
<updated>2009-03-23T11:19:29+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-03-23T08:16:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=435a0a5a3bc8114991650a78e1f90049d2f3f343'/>
<id>435a0a5a3bc8114991650a78e1f90049d2f3f343</id>
<content type='text'>
Now we defer the real_connect() for dgram sockets to the first send()/sendto() call,
as the destination might not be there at connect time.

Commit 66dc53ee017d74a6f610bbe04337f064901fe2a1 was an incomplete fix for this
problem.

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now we defer the real_connect() for dgram sockets to the first send()/sendto() call,
as the destination might not be there at connect time.

Commit 66dc53ee017d74a6f610bbe04337f064901fe2a1 was an incomplete fix for this
problem.

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "socket_wrapper: fix connect() for dgram sockets, if the destination isn't there yet"</title>
<updated>2009-03-22T11:36:38+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-03-22T11:36:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=1f72e4abfdc85fbe624ec7910b68868d97f88ff2'/>
<id>1f72e4abfdc85fbe624ec7910b68868d97f88ff2</id>
<content type='text'>
This reverts commit 66dc53ee017d74a6f610bbe04337f064901fe2a1.

Somehow this leads to timeouts in some tests, samba4.ldb.ldapi
and samba4.rpc.schannel. I need to look at it more closely later...

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 66dc53ee017d74a6f610bbe04337f064901fe2a1.

Somehow this leads to timeouts in some tests, samba4.ldb.ldapi
and samba4.rpc.schannel. I need to look at it more closely later...

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>socket_wrapper: fix connect() for dgram sockets, if the destination isn't there yet</title>
<updated>2009-03-21T09:44:40+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-03-20T15:27:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=66dc53ee017d74a6f610bbe04337f064901fe2a1'/>
<id>66dc53ee017d74a6f610bbe04337f064901fe2a1</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>socket_wrapper: wrap readv() and writev()</title>
<updated>2009-03-10T07:15:48+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-03-09T16:48:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=143b222546f5b6bd6af000426465aa7466ae2ba3'/>
<id>143b222546f5b6bd6af000426465aa7466ae2ba3</id>
<content type='text'>
metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
metze
</pre>
</div>
</content>
</entry>
</feed>
