1. 15 Agu, 2009 1 kayıt (commit)
  2. 02 Haz, 2009 1 kayıt (commit)
  3. 06 Nis, 2009 1 kayıt (commit)
  4. 08 Agu, 2008 1 kayıt (commit)
  5. 29 May, 2008 1 kayıt (commit)
  6. 05 May, 2008 1 kayıt (commit)
    • Gregory P. Smith's avatar
      Fix a bug introduced in r62627. see issue2760 and issue2632. · 24237ea8
      Gregory P. Smith yazdı
      An assertion in readline() would fail as data was already in the
      internal buffer even though the socket was in unbuffered read mode.
      That case is now handled.  More importantly, read() has been fixed to
      not over-recv() and leave newly recv()d data in the _fileobject buffer.
      
      The max() vs min() issue in read() is now gone.  Neither was correct.
      On bounded reads, always ask recv() for the exact amount of data we
      still need.
      
      Candidate for backporting to release25-maint along with r62627.
      24237ea8
  7. 02 May, 2008 1 kayıt (commit)
    • Gregory P. Smith's avatar
      This should fix issue2632. A long description of the two competing · f8cc6401
      Gregory P. Smith yazdı
      problems is in the bug report (one old, one recently introduced trying
      to fix the old one).  In short:
      
      buffer data during socket._fileobject.read() and readlines() within a
      cStringIO object instead of a [] of str()s returned from the recv()
      call.
      
      This prevents excessive memory use due to the size parameter being
      passed to recv() being grossly larger than the actual size of the data
      returned *and* prevents excessive cpu usage due to looping in python
      calling recv() with a very tiny size value if min() is used as the
      previous memory-use bug "fix" did.
      
      It also documents what the socket._fileobject._rbufsize member is
      actually used for.
      
      This is a candidate for back porting to 2.5.
      f8cc6401
  8. 23 Şub, 2008 1 kayıt (commit)
  9. 04 Ock, 2008 2 kayıt (commit)
  10. 16 Ara, 2007 2 kayıt (commit)
  11. 10 Eyl, 2007 1 kayıt (commit)
    • Bill Janssen's avatar
      More work on SSL support. · 98d19daf
      Bill Janssen yazdı
      * Much expanded test suite:
      
        All protocols tested against all other protocols.
        All protocols tested with all certificate options.
        Tests for bad key and bad cert.
        Test of STARTTLS functionality.
        Test of RAND_* functions.
      
      * Fixes for threading/malloc bug.
      
      * Issue 1065 fixed:
      
        sslsocket class renamed to SSLSocket.
        sslerror class renamed to SSLError.
        Function "wrap_socket" now used to wrap an existing socket.
      
      * Issue 1583946 finally fixed:
      
        Support for subjectAltName added.
        Subject name now returned as proper DN list of RDNs.
      
      * SSLError exported from socket as "sslerror".
      
      * RAND_* functions properly exported from ssl.py.
      
      * Documentation improved:
      
        Example of how to create a self-signed certificate.
        Better indexing.
      98d19daf
  12. 29 Agu, 2007 1 kayıt (commit)
    • Bill Janssen's avatar
      This contains a number of things: · 426ea0a8
      Bill Janssen yazdı
      1) Improve the documentation of the SSL module, with a fuller
         explanation of certificate usage, another reference, proper
         formatting of this and that.
      
      2) Fix Windows bug in ssl.py, and general bug in sslsocket.close().
         Remove some unused code from ssl.py.  Allow accept() to be called on
         sslsocket sockets.
      
      3) Use try-except-else in import of ssl in socket.py.  Deprecate use of
         socket.ssl().
      
      4) Remove use of socket.ssl() in every library module, except for
         test_socket_ssl.py and test_ssl.py.
      426ea0a8
  13. 25 Agu, 2007 1 kayıt (commit)
  14. 27 Tem, 2007 1 kayıt (commit)
  15. 25 Nis, 2007 1 kayıt (commit)
  16. 23 Mar, 2007 2 kayıt (commit)
  17. 21 Ock, 2007 1 kayıt (commit)
  18. 26 Tem, 2006 1 kayıt (commit)
  19. 01 Tem, 2006 1 kayıt (commit)
  20. 04 Haz, 2006 1 kayıt (commit)
    • Martin Blais's avatar
      Fixes in struct and socket from merge reviews. · af2ae72c
      Martin Blais yazdı
      - Following Guido's comments, renamed
      
        * pack_to -> pack_into
        * recv_buf -> recv_into
        * recvfrom_buf -> recvfrom_into
      
      - Made fixes to _struct.c according to Neal Norwitz comments on the checkins
        list.
      
      - Converted some ints into the appropriate -- I hope -- ssize_t and size_t.
      af2ae72c
  21. 26 May, 2006 1 kayıt (commit)
    • Martin Blais's avatar
      Support for buffer protocol for socket and struct. · 2856e5f3
      Martin Blais yazdı
      * Added socket.recv_buf() and socket.recvfrom_buf() methods, that use the buffer
        protocol (send and sendto already did).
      
      * Added struct.pack_to(), that is the corresponding buffer compatible method to
        unpack_from().
      
      * Fixed minor typos in arraymodule.
      2856e5f3
  22. 09 Nis, 2006 1 kayıt (commit)
  23. 22 Mar, 2006 1 kayıt (commit)
  24. 21 Mar, 2006 1 kayıt (commit)
  25. 17 Mar, 2006 1 kayıt (commit)
  26. 11 Mar, 2005 1 kayıt (commit)
  27. 09 Agu, 2004 1 kayıt (commit)
  28. 31 May, 2004 1 kayıt (commit)
  29. 28 Mar, 2004 1 kayıt (commit)
  30. 14 Haz, 2003 1 kayıt (commit)
  31. 29 May, 2003 1 kayıt (commit)
  32. 10 May, 2003 1 kayıt (commit)
  33. 29 Nis, 2003 2 kayıt (commit)
  34. 25 Nis, 2003 1 kayıt (commit)
    • Guido van Rossum's avatar
      Patch by Jp Calderone: · 47dfa4a8
      Guido van Rossum yazdı
      - The socket module now provides the functions inet_pton and inet_ntop
        for converting between string and packed representation of IP addresses.
        See SF patch #658327.
      
      This still needs a bit of work in the doc area, because it is not
      available on all platforms (especially not on Windows).
      47dfa4a8
  35. 30 Mar, 2003 1 kayıt (commit)
  36. 22 Agu, 2002 1 kayıt (commit)