summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Backed out changeset c0f2b038fc12Charles-François Natali2013-05-211-1/+1
| | |
* | | Issue #17683: socket module: return AF_UNIX addresses in Linux abstractCharles-François Natali2013-05-211-1/+1
| | | | | | | | | | | | namespace as string.
* | | Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant()Charles-Francois Natali2013-05-201-329/+321
| | | | | | | | | | | | when applicable.
* | | merge 3.3Benjamin Peterson2013-05-161-1/+2
|\ \ \ | |/ /
| * | C89 declaration complianceBenjamin Peterson2013-05-161-1/+2
| | |
* | | Merge with 3.3, issue #17047: remove doubled words added in 3.3,Terry Jan Reedy2013-03-111-1/+1
|\ \ \ | |/ / | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
| * | Issue #17047: remove doubled words added in 3.3Terry Jan Reedy2013-03-111-1/+1
| | | | | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
| * | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵Antoine Pitrou2013-02-091-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag), mpdecimal (needs to build without Python.h).
| | * Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵Antoine Pitrou2013-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag).
| * | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-3/+3
| |\ \ | | |/ | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
| | * Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-3/+3
| | | | | | | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
* | | Issue #15359: Add CAN_BCM protocol support to the socket module. Patch by BrianCharles-François Natali2013-02-051-0/+17
| | | | | | | | | | | | Thorne.
* | | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-141-3/+3
| | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks.
* | | Issue #16717: get rid of socket.error, replace with OSErrorAndrew Svetlov2012-12-181-1/+1
| | |
* | | expose TCP_FASTOPEN and MSG_FASTOPENBenjamin Peterson2012-12-131-1/+6
| | |
* | | #16135: Removal of OS/2 support (Modules/*)Jesus Cea2012-10-051-94/+3
|/ /
* | Make sure that *really* no more than sizeof(ifr.ifr_name) chars are ↵Christian Heimes2012-09-091-1/+2
| | | | | | | | strcpy-ed to ifr.ifr_name and that the string is *always* NUL terminated. New code shouldn't use strcpy(), too. CID 719692
* | Merge 3.2 to defaultAndrew Svetlov2012-08-141-1/+1
|\ \ | |/
| * Modules/socketmodule.c: netdb_lock: define static.Matthias Klose2012-08-141-1/+1
| |
* | Remove useless test (flowinfo is unsigned).Charles-François Natali2012-06-231-2/+2
|\ \ | |/
| * Remove useless test (flowinfo is unsigned).Charles-François Natali2012-06-231-2/+2
| |
* | Issue #14310: inter-process socket duplication for windowsKristján Valur Jónsson2012-04-071-7/+66
| |
* | Issue #14300: Under Windows, sockets created using socket.dup() now allow ↵Antoine Pitrou2012-03-311-1/+1
| | | | | | | | | | | | overlapped I/O. Patch by sbt.
* | Fix warning when compiling socketmodule.c with VS2010Kristján Valur Jónsson2012-03-311-0/+1
| | | | | | | | VS2010 defineds the old errno constants in addition to the WSA* ones.
* | Issue #10951: Fix warnings in the socket module.Ross Lagerwall2012-03-061-4/+4
| |
* | Issue #13777: Add PF_SYSTEM sockets on OS X.Martin v. Löwis2012-02-031-0/+107
| | | | | | | | Patch by Michael Goderbauer.
* | Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch byCharles-François Natali2012-01-021-8/+21
|\ \ | |/ | | | | Vilmos Nebehaj.
| * Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch byCharles-François Natali2012-01-021-8/+21
| | | | | | | | Vilmos Nebehaj.
* | Issue #8623: Fix some strict-aliasing warnings. Patch by David Watson.Charles-François Natali2011-12-231-16/+9
| |
* | Issue #12809: Expose IP_TRANSPARENT in the socket module. Patch by MichaelCharles-François Natali2011-12-171-0/+3
| | | | | | | | Farrell.
* | Issue #13560: os.strerror() now uses the current locale encoding instead of ↵Victor Stinner2011-12-171-3/+2
| | | | | | | | UTF-8
* | Issue #8373: The filesystem path of AF_UNIX sockets now uses the filesystemAntoine Pitrou2011-12-161-6/+19
| | | | | | | | | | encoding and the surrogateescape error handler, rather than UTF-8. Patch by David Watson.
* | Use the new Unicode APIVictor Stinner2011-11-221-1/+1
| | | | | | | | | | | | | | | | * Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0) * Replce PyUnicode_FromUnicode(str, len) by PyUnicode_FromWideChar(str, len) * Replace Py_UNICODE by wchar_t * posix_putenv() uses PyUnicode_FromFormat() to create the string, instead of PyUnicode_FromUnicode() + _snwprintf()
* | socket_gethostname() uses a wchar_t* with PyMem_Malloc() to avoid theVictor Stinner2011-11-171-16/+26
| | | | | | | | old Unicode API.
* | Issue #7777: socket: Add Reliable Datagram Sockets (PF_RDS) support.Charles-François Natali2011-11-101-0/+77
| |
* | Issue #12619: Expose socket.SO_BINDTODEVICE constantVictor Stinner2011-10-251-0/+3
| |
* | Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-141-1/+1
| |
* | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.Antoine Pitrou2011-10-121-60/+56
| |
* | Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-091-1/+3
| | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
* | Issue #10141: fix socketmodule compilation on Linux systems with <linux/can.h>Charles-François Natali2011-10-071-3/+3
| | | | | | | | but without AF_CAN definition.
* | Issue #10141: socket: add SocketCAN (PF_CAN) support. Initial patch by MatthiasCharles-François Natali2011-10-061-0/+105
| | | | | | | | Fuchs, updated by Tiago Gonçalves.
* | Use the new Py_ARRAY_LENGTH macroVictor Stinner2011-09-281-2/+2
| |
* | Issue #12837: POSIX.1-2008 allows socklen_t to be a signed integer: re-enableCharles-François Natali2011-08-281-1/+2
| | | | | | | | | | the check against negative values, and add a note on this surprising test. Patch by David Watson.
* | Issue #12287: Fix a stack corruption in ossaudiodev module when the FD isCharles-François Natali2011-08-281-8/+4
|\ \ | |/ | | | | greater than FD_SETSIZE.
| * Issue #12287: Fix a stack corruption in ossaudiodev module when the FD isCharles-François Natali2011-08-281-8/+4
| | | | | | | | greater than FD_SETSIZE.
* | sock_sendmsg/sock_recvmsg: Use {0} to 0-initialize aggregate types withCharles-François Natali2011-08-241-7/+2
| | | | | | | | automatic storage class.
* | Issue12810: Remove check for negative unsigned value in socketmodule.c. PatchCharles-François Natali2011-08-241-1/+1
| | | | | | | | by Joel Stanley.
* | Close #12826: fix socketmodule.c for OpenBSD, include sys/uio.hVictor Stinner2011-08-231-0/+4
| | | | | | | | Patch written by Remi Pointel.
* | Attempt to address Windows buildbot failuresNick Coghlan2011-08-221-1/+1
| |
* | Add support for the send/recvmsg API to the socket module. Patch by David ↵Nick Coghlan2011-08-221-0/+809
| | | | | | | | Watson and Heiko Wundram. (Closes #6560)