summaryrefslogtreecommitdiff
path: root/Modules/socketmodule.c
AgeCommit message (Expand)AuthorLines
2002-03-25backport jackjansen's checkin ofMichael W. Hudson-0/+5
2002-01-12Include <unistd.h> in Python.h. Fixes #500924.Martin v. Löwis-4/+0
2001-12-28Backport loewis' checkin of version 1.201:Michael W. Hudson-0/+31
2001-12-02Remove INET6 define. Use ENABLE_IPV6 instead.Martin v. Löwis-11/+11
2001-11-28More sprintf -> PyOS_snprintf.Tim Peters-1/+2
2001-11-28sprintf -> PyOS_snprintf in some "obviously safe" cases.Tim Peters-4/+7
2001-11-28Fix docstring typoAndrew M. Kuchling-1/+1
2001-11-19Test for negative buffer sizes. Fixes #482871.Martin v. Löwis-0/+5
2001-11-09Fixes to compile cPickle.c & socketmodule.c on cygwin and possiblyMichael W. Hudson-3/+6
2001-11-07Fix memory leaks detecting in bug report #478003.Martin v. Löwis-1/+5
2001-11-05SF patch 473749 compile under OS/2 VA C++, from Michael Muller.Tim Peters-1/+4
2001-11-02Correct getnameinfo refcounting and tuple parsing. Fixes #476648.Martin v. Löwis-6/+4
2001-10-30PySocketSock_connect_ex(): On Windows, return the correct Windows exitTim Peters-1/+6
2001-10-28Oops. In the tp_name field, the name should be "_socket.socket", notGuido van Rossum-2/+2
2001-10-27Made SocketType and socket the same thing: a subclassable type whoseGuido van Rossum-119/+167
2001-10-26Add sendall() method, which loops until all data is written or anGuido van Rossum-2/+44
2001-10-25After discussion with itojun, it was clarified that Tru64 is in error,Martin v. Löwis-1/+3
2001-10-24SF patch #474590 -- RISC OS supportGuido van Rossum-15/+10
2001-10-24Fix typo. Thanks to Jack Jansen for spotting it.Martin v. Löwis-1/+1
2001-10-24Include netdb.h to detect getaddrinfo. Work around problem with getaddrinfoMartin v. Löwis-0/+6
2001-10-19(Hopefully) fix SF bug #472675: CVS socketmodule now doesn't compileGuido van Rossum-1/+1
2001-10-18Expose three OpenSSL API calls for dealing with the PRNG.Jeremy Hylton-0/+67
2001-10-15Fix a bunch of warnings reported by Skip.Guido van Rossum-8/+8
2001-10-13Test for __sun instead of __sun__, since SUNWspro only defines the latter;Martin v. Löwis-1/+1
2001-10-12PySocket_getaddrinfo(): fix two refcount bugs, both having to do withGuido van Rossum-3/+6
2001-10-11Use PySocket_Err() instead of PyErr_SetFromErrno().Jeremy Hylton-3/+2
2001-10-11Commit parts of SF patch #462759Jeremy Hylton-68/+68
2001-10-11Convert socket methods to use METH_O and METH_NOARGS where possible.Jeremy Hylton-50/+39
2001-10-11Add a bunch of SSL error constantsJeremy Hylton-0/+12
2001-10-10Lots of code reorganization with a few small API changes.Jeremy Hylton-45/+113
2001-10-10Do simple error checking before doing any SSL calls.Jeremy Hylton-5/+5
2001-10-10USe PyObject_SetString() instead of PyObject_SetObject() in newSSLObject().Jeremy Hylton-14/+9
2001-10-10In newSSLObject(), initialize the various members of an SSLObject to NULL.Jeremy Hylton-2/+8
2001-10-10A bit of reformatting to match the standard styleJeremy Hylton-7/+7
2001-10-10Fix two memory leaks in socket.ssl().Jeremy Hylton-39/+29
2001-08-29SF bug [#456252] Python should never stomp on [u]intptr_t.Tim Peters-1/+1
2001-08-20SSL_dealloc(): Apply the change suggested in SF bug #425370 whichBarry Warsaw-1/+1
2001-08-20It will always be a string, because it is created just before this call.Jeremy Hylton-1/+1
2001-08-15Fix portability problems with glibc 2.0, as reported in #449157.Martin v. Löwis-0/+4
2001-08-12Bump size of sprintf buffer. Suggested by Alex Coventry.Martin v. Löwis-1/+1
2001-08-10Autotest for netpacket/packet.h, as it is not available on all Linux versions.Martin v. Löwis-6/+6
2001-08-04Add more constants. Contributed by itojun.Martin v. Löwis-1/+73
2001-08-04Auto-detect hstrerror. Raise socket.herror in PyH_Error. Register the threeMartin v. Löwis-2/+4
2001-08-03Do not use the system getaddrinfo on Mac OS X. Fixes bug #445928.Martin v. Löwis-6/+16
2001-07-31Enable PyOS_snprintf() et al. during alpha phase of 2.2.0 andMarc-André Lemburg-10/+2
2001-07-30Temporarily work around bug #445928: Force usage of getaddrinfo emulationMartin v. Löwis-2/+6
2001-07-24Use HAVE_SNPRINTF, not HAVE_SPRINTF, for checking the availability ofThomas Wouters-1/+1
2001-07-24Autocheck for snprintf, and use sprintf if it is not available.Martin v. Löwis-3/+8
2001-07-23Before declaring h_errno, do not check for Win32 only. Instead, do checkMartin v. Löwis-1/+1
2001-07-23Instead of accessing ss_family, cast sockaddr_storage to sockaddr and access ...Martin v. Löwis-1/+5