1. 14 Haz, 2008 1 kayıt (commit)
  2. 13 Haz, 2008 1 kayıt (commit)
  3. 07 Ock, 2008 1 kayıt (commit)
  4. 04 Ock, 2008 1 kayıt (commit)
  5. 03 Ock, 2008 1 kayıt (commit)
  6. 14 Şub, 2007 1 kayıt (commit)
  7. 03 Ara, 2006 1 kayıt (commit)
  8. 16 Ock, 2006 1 kayıt (commit)
  9. 14 Ock, 2006 1 kayıt (commit)
  10. 14 Eyl, 2005 1 kayıt (commit)
  11. 23 Mar, 2004 1 kayıt (commit)
  12. 02 Şub, 2004 1 kayıt (commit)
  13. 31 Ock, 2004 1 kayıt (commit)
  14. 03 May, 2003 1 kayıt (commit)
  15. 13 Haz, 2002 1 kayıt (commit)
    • Guido van Rossum's avatar
      Major overhaul of timeout sockets: · 11ba0949
      Guido van Rossum yazdı
      - setblocking(0) and settimeout(0) are now equivalent, and ditto for
        setblocking(1) and settimeout(None).
      
      - Don't raise an exception from internal_select(); let the final call
        report the error (this means you will get an EAGAIN error instead of
        an ETIMEDOUT error -- I don't care).
      
      - Move the select to inside the Py_{BEGIN,END}_ALLOW_THREADS brackets,
        so other theads can run (this was a bug in the original code).
      
      - Redid the retry logic in connect() and connect_ex() to avoid masking
        errors.  This probably doesn't work for Windows yet; I'll fix that
        next.  It may also fail on other platforms, depending on what
        retrying a connect does; I need help with this.
      
      - Get rid of the retry logic in accept().  I don't think it was needed
        at all.  But I may be wrong.
      11ba0949
  16. 07 Haz, 2002 1 kayıt (commit)
  17. 06 Haz, 2002 1 kayıt (commit)
    • Guido van Rossum's avatar
      SF patch 555085 (timeout socket implementation) by Michael Gilfix. · 67f7a388
      Guido van Rossum yazdı
      I've made considerable changes to Michael's code, specifically to use
      the select() system call directly and to store the timeout as a C
      double instead of a Python object; internally, -1.0 (or anything
      negative) represents the None from the API.
      
      I'm not 100% sure that all corner cases are covered correctly, so
      please keep an eye on this.  Next I'm going to try it Windows before
      Tim complains.
      
      No way is this a bugfix candidate. :-)
      67f7a388
  18. 01 Mar, 2002 1 kayıt (commit)
  19. 25 Şub, 2002 1 kayıt (commit)
  20. 17 Şub, 2002 2 kayıt (commit)
    • Tim Peters's avatar
      Moved the declaration of PySocketSock_Type from socketmodule.h to · 643a7fc6
      Tim Peters yazdı
      socketmodule.c.  No code outside of the .c file references it, so it
      doesn't belong the .h file (at least not yet ...), and declaring it
      an imported symbol in the .h file can't be made to work on Windows (it's
      a cross-DLL symbol then) without substantial code rewriting.  Also
      repaired the comment that goes along with the decl, to stop referring
      to names and functions that haven't existed for 7 years <wink>.
      
      socketmodule.c compiles cleanly on Windows again.  The test_socket dies
      at once, though (later).
      643a7fc6
    • Tim Peters's avatar
      For readability, switch to tab indents; was using a mix of tab indents, · 6f5505aa
      Tim Peters yazdı
      4-space indents, and ambiguous space+tab indents.  Added an XXX comment
      about a confusing part.  Still doesn't build on Windows.
      6f5505aa
  21. 16 Şub, 2002 1 kayıt (commit)
    • Marc-André Lemburg's avatar
      Break SSL support out of _socket module and place it into a new · a5d2b4cb
      Marc-André Lemburg yazdı
      helper module _ssl.
      
      The support for the RAND_* APIs in _ssl is now only enabled
      for OpenSSL 0.9.5 and up since they were added in that
      release.
      
      Note that socketmodule.* should really be renamed to _socket.* --
      unfortunately, this seems to lose the CVS history of the file.
      
      Please review and test... I was only able to test the header file
      chaos in socketmodule.c/h on Linux. The test run through fine
      and compiles don't give errors or warnings.
      
      WARNING: This patch does *not* include changes to the various
      non-Unix build process files.
      a5d2b4cb