<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/socketmodule.c, branch 2.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/socketmodule.c?h=2.1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/socketmodule.c?h=2.1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-07-02T19:05:33Z</updated>
<entry>
<title>Backport variety of SSL fixes accumulated on the trunk.</title>
<updated>2002-07-02T19:05:33Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2002-07-02T19:05:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=13aa64bfaee49d73d147b954129e66da9fb3497a'/>
<id>urn:sha1:13aa64bfaee49d73d147b954129e66da9fb3497a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>backport of 1.196: socket.recv(-1) fixup.</title>
<updated>2001-12-23T01:44:49Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2001-12-23T01:44:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e40ae1f762bbbb6f38a01dd27a3de9bbb7d8db95'/>
<id>urn:sha1:e40ae1f762bbbb6f38a01dd27a3de9bbb7d8db95</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wrap SSL_read and SSL_write in Py_{BEGIN,END}_ALLOW_THREADS.</title>
<updated>2001-11-01T14:25:38Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2001-11-01T14:25:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=df71fc012575cac0c0c050a8f1febf1438f8fdd7'/>
<id>urn:sha1:df71fc012575cac0c0c050a8f1febf1438f8fdd7</id>
<content type='text'>
other half of backport of guido's 1.188
</content>
</entry>
<entry>
<title>partial backport of guido's 1.188.</title>
<updated>2001-11-01T14:14:26Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2001-11-01T14:14:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=aadae7dae9fba62a65dede79bac8a12681f72ee4'/>
<id>urn:sha1:aadae7dae9fba62a65dede79bac8a12681f72ee4</id>
<content type='text'>
  Add sendall() method, which loops until all data is written or an
  error occurs, and doesn't return a count.  (This is my second patch
  from SF patch #474307, with small change to the docstring for send().)

the 'partial' is because 1.188 also added a couple of Py_*_ALLOW_THREADS
wrappers around SSL_read and SSL_write, and I want to check those separately.

This is adding a new method to the socket object, which would normally
be a bad thing to do in a bugfix release - however, in this case, it
allows fixes for a nasty problem that would otherwise have a filthy
filthy fix to Get It Right. Still to-do is to patch the std library
modules to use sendall() where appropriate, rather than send().
</content>
</entry>
<entry>
<title>backport of MvL's 1.180</title>
<updated>2001-11-01T14:05:52Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2001-11-01T14:05:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7aff5e470aa43fecc082a273e073116f961f25f7'/>
<id>urn:sha1:7aff5e470aa43fecc082a273e073116f961f25f7</id>
<content type='text'>
  Test for __sun instead of __sun__, since SUNWspro only defines the latter;
  gcc defines both.
...must get sparc box at home out of cupboard for testing this stuff...
</content>
</entry>
<entry>
<title>backport tim's 1.191:</title>
<updated>2001-11-01T14:00:11Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2001-11-01T14:00:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3357529c3460b73a56474a3dbc1e70cadc001443'/>
<id>urn:sha1:3357529c3460b73a56474a3dbc1e70cadc001443</id>
<content type='text'>
  PySocketSock_connect_ex():  On Windows, return the correct Windows exit
  code.  The patch is from Jeremy, and allows test_asynchat to run again.
</content>
</entry>
<entry>
<title>backport (partially) jeremy's 1.178</title>
<updated>2001-11-01T13:58:16Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2001-11-01T13:58:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5d0fdbc690744dd48a9476d1b362b2bbcf773e88'/>
<id>urn:sha1:5d0fdbc690744dd48a9476d1b362b2bbcf773e88</id>
<content type='text'>
  Use PySocket_Err() instead of PyErr_SetFromErrno().
  The former does the right thing on Windows, the latter does not.

The 'partial' is because the code's changed quite a lot and it's not clear
that the two that are still there of the form
                return PyErr_SetFromErrno(SSLErrorObject);
can be replaced with PySocket_Err() - it looks like they need the new
PySSL_SetError, which is a tad large to be comfortable with just checking
in without reading it further.
</content>
</entry>
<entry>
<title>Fix leak in SSLread in nonblocking mode -- from SF bug #472798.</title>
<updated>2001-10-19T15:17:42Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-10-19T15:17:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bad60d9674798a98d69c7563d01240c9753df835'/>
<id>urn:sha1:bad60d9674798a98d69c7563d01240c9753df835</id>
<content type='text'>
(Not a merge from the code on the trunk -- the trunk has evolved
perhaps too much.)
</content>
</entry>
<entry>
<title>Three uses of makesockaddr() used sockaddr buffers that had not be cleared;</title>
<updated>2001-05-09T19:13:40Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-05-09T19:13:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=62648d14068f4650068659c12bc9a6d1660a7d00'/>
<id>urn:sha1:62648d14068f4650068659c12bc9a6d1660a7d00</id>
<content type='text'>
this could cause invalid paths to be returned for AF_UNIX sockets on some
platforms (including FreeBSD 4.2-RELEASE), appearantly because there is
no assurance that the address will be nul-terminated when filled in by the
kernel.

This closes SF bug #416573.
</content>
</entry>
<entry>
<title>Reverting Moshe's EGD patch *and* Martin's patch to make it work with</title>
<updated>2001-04-16T00:21:33Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-04-16T00:21:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=13324e1e1fc2fe50f4344c65ace88a1e037aa23a'/>
<id>urn:sha1:13324e1e1fc2fe50f4344c65ace88a1e037aa23a</id>
<content type='text'>
OpenSSL versions beore 0.9.5.  This just is too experimental to be
worth it, especially since the user would have to do some severe
hacking of the Modules/Setup file to even enable the EGD code, and
without the EGD code it would always spit out a warning on some
systems -- even when socket.ssl() is not used.  Fixing that properly
is not my job; the EGD patch is clearly not so important that it
should hold up the 2.1 release.
</content>
</entry>
</feed>
