| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2006-02-20 | Bug #854823: socketmodule now builds on Sun platforms even when | Georg Brandl | -2/+2 | |
| INET_ADDRSTRLEN is not defined. | ||||
| 2006-02-12 | Backport r42314 which fixed Windows breakage when checking that socket | Neal Norwitz | -0/+7 | |
| descriptors fit in fd_set. Introduce Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE. Proposed by Tim Peters implemented by Martin von Loewis. | ||||
| 2006-02-07 | Backport: | Neal Norwitz | -2/+31 | |
| Bug #876637, prevent stack corruption when socket descriptor is larger than FD_SETSIZE. This can only be acheived with ulimit -n SOME_NUMBER_BIGGER_THAN_FD_SETSIZE which is typically only available to root. Since this wouldn't normally be run in a test (ie, run as root), it doesn't seem too worthwhile to add a normal test. The bug report has one version of a test. I've written another. Not sure what the best thing to do is. Do the check before calling internal_select() because we can't set an error in between Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS. This seemed the clearest solution. | ||||
| 2005-09-14 | - Changes donated by Elemental Security to make it work on AIX 5.3 | Guido van Rossum | -23/+19 | |
| with IBM's 64-bit compiler (SF patch #1284289). This also closes SF bug #105470: test_pwd fails on 64bit system (Opteron). | ||||
| 2005-08-26 | backport patch [ 756021 ] Allow socket.inet_aton("255.255.255.255") on Windows | Georg Brandl | -7/+12 | |
| 2004-11-07 | Fix apparently trivial buffer overflow (SF bug 1060396). | Jeremy Hylton | -1/+1 | |
| memset() wrote one past the end of the buffer, which was likely to be unused padding or a yet-to-be-initialized local variable. This routine is already tested by test_socket. | ||||
| 2004-10-14 | Just remove the #include of signal.h. That it was C++-commented out | Michael W. Hudson | -1/+0 | |
| was a mistake of mine in updating patch #975056 (I think). | ||||
| 2004-10-14 | Use C89 style comment for old compilers | Neal Norwitz | -1/+1 | |
| 2004-10-13 | Patch #975056 - fixes for restartable signals on *BSD. In addition, | Anthony Baxter | -1/+1 | |
| a few remaining calls to signal() were converted to PyOS_setsig(). | ||||
| 2004-09-28 | Silence a compiler warning by supplying the correct argument type to | Raymond Hettinger | -2/+2 | |
| the htons() function. | ||||
| 2004-09-13 | Patch for compilation on IRIX from rwgk on http://python.org/sf/728330 | Trent Mick | -0/+10 | |
| 2004-09-07 | Apply patch from http://python.org/sf/728330 to fix socket module ↵ | Trent Mick | -1/+13 | |
| compilation on Solaris 2.6, HP-UX 11, AIX 5.1 and (possibly) some IRIX versions. | ||||
| 2004-08-26 | Patch #1015012. Improve markup and punctuation in libsocket.tex | Dave Cole | -2/+2 | |
| 2004-08-25 | Back out 1.289, which breaks platforms needing addrinfo.h, and | Martin v. Löwis | -31/+0 | |
| 1.293, 1.298, and 1.300, which have tried to fix this for specific platforms. | ||||
| 2004-08-23 | Updated the socketpair() docstring and documentation to explain that the | Dave Cole | -2/+4 | |
| default famility is AF_UNIX if defined for the platform, otherwise the default is AF_INET. | ||||
| 2004-08-23 | Removed unnecessary calls to signal() to ignore SIGPIPE. SIGPIPE is ignored | Dave Cole | -13/+0 | |
| in initsigs() inside pythonrun.c. | ||||
| 2004-08-09 | Bug #1001857: socketmodule does not build under cygwin | Jason Tishler | -0/+4 | |
| Restore clean building under Cygwin. | ||||
| 2004-08-09 | Patch #1003700: Add socketpair function to socket module. | Dave Cole | -0/+62 | |
| 2004-08-03 | Restore compilation on MSVC++ 6.0 | Raymond Hettinger | -0/+4 | |
| 2004-08-03 | Fix [ 1001018 ]: Windows: setdefaulttimeout causes unnecessary timeouts on | Mark Hammond | -3/+24 | |
| connect error | ||||
| 2004-07-19 | Patch #984654: Add more address family constants. | Martin v. Löwis | -0/+60 | |
| 2004-07-10 | [Patch #947352 from Jason Andryuk] Add support for AF_PACKET hardware addresses | Andrew M. Kuchling | -6/+15 | |
| 2004-07-10 | [Patch #982665 ] add SO_EXCLUSIVEADDRUSE constant | Andrew M. Kuchling | -0/+4 | |
| 2004-07-07 | OS/2 EMX needs addrinfo.h for code included from getaddrinfo.c | Andrew MacIntyre | -0/+4 | |
| 2004-06-28 | Added socket.getservbyport(), and make its second argument and that of | Barry Warsaw | -5/+39 | |
| getservbyname() optional. Update the tests and the docs. | ||||
| 2004-06-03 | Patch #929192: Improvements to bluetooth support. | Martin v. Löwis | -75/+166 | |
| Added setbdaddr and makebdaddr. Extended makesockaddr to understand Bluetooth addresses. Changed getsockaddr to expect the Bluetooth addresses as a string, not a six element tuple. Reformatted some of the Bluetooth code to be more consistent with PEP 7. | ||||
| 2004-06-02 | Patch #924294: Do not check for AF_INET6 if it is not defined. | Martin v. Löwis | -1/+1 | |
| Will backport to 2.3. | ||||
| 2004-05-26 | Band-aid type fix for | Michael W. Hudson | -0/+19 | |
| [ 728330 ] Don't define _SGAPI on IRIX The Right Thing would be nice, for now this'll do. At least it isn't going to break anything *other* than IRIX... | ||||
| 2004-04-11 | Fixes for AF_UNIX support on OS/2: | Andrew MacIntyre | -0/+4 | |
| - return the full size of the sockaddr_un structure, without which bind() fails with EINVAL; - set test_socketserver to use a socket name that meets the form required by the underlying implementation; - don't bother exercising the forking AF_UNIX tests on EMX - its fork() can't handle the stress. | ||||
| 2004-04-04 | OS/2's TCP/IP stack supports AF_UNIX sockets, with the limitation that | Andrew MacIntyre | -4/+4 | |
| the socket name must start with /socket32/. Unlike Unix systems, this file never exists in the file system. | ||||
| 2004-03-23 | Make socket.sslerror a subclass of socket.error . | Brett Cannon | -0/+2 | |
| Added socket.error to the socket module's C API. | ||||
| 2004-02-16 | Make socketmodule compile again on a modern Linux (that supports Bluetooth). | Anthony Baxter | -1/+1 | |
| The Bluetooth code was obviously never tested on Linux. | ||||
| 2004-02-10 | remove support for missing ANSI C header files (limits.h, stddef.h, etc). | Skip Montanaro | -3/+1 | |
| 2004-02-02 | Add FreeBSD support for bluetooth sockets. | Hye-Shik Chang | -14/+38 | |
| (SF Patch #888148, reviewed by loewis) | ||||
| 2004-01-31 | Patch #874083: Bluetooth support for socket module. | Martin v. Löwis | -0/+101 | |
| 2003-12-30 | Add IPV6_ socket options from RFCs 3493 and 3542. Fixes #867012. | Martin v. Löwis | -0/+71 | |
| 2003-12-17 | Fix erroneus argument parsing of socket.htons() on 64bit big endian | Hye-Shik Chang | -1/+1 | |
| machines. | ||||
| 2003-11-27 | Patch #849595: Add socket.shutdown() constants. | Martin v. Löwis | -2/+25 | |
| 2003-11-19 | Getting rid of code dependent on GUSI or the MetroWerks compiler. | Jack Jansen | -5/+0 | |
| 2003-10-20 | Fix a bunch of typos in documentation, docstrings and comments. | Walter Dörwald | -1/+1 | |
| (From SF patch #810751) | ||||
| 2003-10-12 | Simplify and speedup uses of Py_BuildValue(): | Raymond Hettinger | -2/+2 | |
| * Py_BuildValue("(OOO)",a,b,c) --> PyTuple_Pack(3,a,b,c) * Py_BuildValue("()",a) --> PyTuple_New(0) * Py_BuildValue("O", a) --> Py_INCREF(a) | ||||
| 2003-10-04 | made the SGI INET_ADDRSTRLEN define apply for any compiler on Irix. Both the | Anthony Baxter | -4/+7 | |
| SGI compiler and GCC seem to need this. | ||||
| 2003-10-03 | Patch #813445: Add missing socket.IPPROTO_IPV6. Backported to 2.3. | Martin v. Löwis | -0/+3 | |
| 2003-08-07 | Release host name memory. Fixes #783312. Will backport to 2.3. | Martin v. Löwis | -6/+12 | |
| 2003-08-05 | Patch #781722: Reject AF_INET6 if IPv6 is disabled. Will backport to 2.3. | Martin v. Löwis | -0/+8 | |
| 2003-07-17 | Get socketmodule compiling on IRIX 6.5.10. | Jeremy Hylton | -2/+11 | |
| I don't think the fix here is very good, but I'm not sure what would be better. In particular, we should not be defining _SGIAPI, but lots of things break if we remove it. | ||||
| 2003-07-09 | Fix [ 766669 ] Consistent GPF on exit | Mark Hammond | -1/+1 | |
| Use Py_AtExit instead of atexit so we are called during Py_Finalize() rather than during DLL teardown. | ||||
| 2003-06-29 | SF patch #760257: add socket.timeout exception | Raymond Hettinger | -38/+113 | |
| (Contributed by Bob Halley) Added a new exception, socket.timeout so that timeouts can be differentiated from other socket exceptions. Docs, more tests, and newsitem to follow. | ||||
| 2003-05-10 | Patch #734231: Update RiscOS support. In particular, correct | Martin v. Löwis | -8/+36 | |
| riscospath.extsep, and use os.extsep throughout. | ||||
| 2003-05-09 | Yet another addition to [731644]: only use the lock if thread-support | Just van Rossum | -2/+2 | |
| is enabled. | ||||
