1. 24 Şub, 2008 2 kayıt (commit)
  2. 23 Şub, 2008 1 kayıt (commit)
  3. 12 Şub, 2008 1 kayıt (commit)
  4. 08 Ara, 2007 1 kayıt (commit)
  5. 18 Eki, 2007 1 kayıt (commit)
  6. 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
  7. 31 Agu, 2007 1 kayıt (commit)
  8. 30 Agu, 2007 1 kayıt (commit)
  9. 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
  10. 27 Tem, 2007 1 kayıt (commit)
  11. 21 May, 2007 1 kayıt (commit)
  12. 26 Mar, 2007 1 kayıt (commit)
  13. 23 Mar, 2007 2 kayıt (commit)
  14. 30 Ock, 2007 1 kayıt (commit)
  15. 12 Kas, 2006 1 kayıt (commit)
  16. 30 Tem, 2006 1 kayıt (commit)
  17. 26 Tem, 2006 1 kayıt (commit)
  18. 03 May, 2006 1 kayıt (commit)
  19. 17 Şub, 2006 1 kayıt (commit)
  20. 29 Eyl, 2005 1 kayıt (commit)
  21. 26 Haz, 2005 1 kayıt (commit)
  22. 07 Kas, 2004 1 kayıt (commit)
  23. 14 Eki, 2004 1 kayıt (commit)
  24. 18 Eyl, 2004 1 kayıt (commit)
  25. 15 Eyl, 2004 1 kayıt (commit)
  26. 14 Eyl, 2004 3 kayıt (commit)
  27. 18 Agu, 2004 1 kayıt (commit)
  28. 07 Agu, 2004 1 kayıt (commit)
  29. 05 Haz, 2004 1 kayıt (commit)
  30. 04 May, 2004 1 kayıt (commit)
  31. 18 Ock, 2004 1 kayıt (commit)
  32. 19 Kas, 2003 1 kayıt (commit)
  33. 09 Kas, 2003 1 kayıt (commit)
  34. 27 Eki, 2003 1 kayıt (commit)
  35. 29 Haz, 2003 1 kayıt (commit)
  36. 24 Haz, 2003 1 kayıt (commit)
    • Greg Stein's avatar
      Deal with a couple XXX comments which asked questions. · 616a58d7
      Greg Stein yazdı
      In response to "shouldn't the client close the file?", the answer is
      "no". The original design behind HTTPConnection is that the client did
      not have to worry about it. The response would close itself when you
      read the last of the data from it. This closing also dealt with
      allowing the connection to perform another request/response (if it was
      a persistent connection).
      
      However... the auto-close behavior broke compatibility with the
      classic httplib.HTTP class' behavior when a zero-length response body
      was present. In that situation, the HTTPResponse object was
      auto-closing it since there was no data present, and for an HTTP/1.0
      connection-close socket (or an HTTP/0.9 request) connection, that also
      ended up closing the socket. When an httplib.HTTP user went to read
      the socket... boom. A patch to correct the auto-close (for compat with
      old httplib users) was added in rev 1.22.
      
      But for non-zero-length *chunked* bodies, we should keep the
      auto-close behavior. The library user is not reading the socket (they
      can't cuz of the chunked response we just got done handling), so they
      should be immune to the response closing the socket. In fact, I would
      like to see (one day) the auto-close restored, and the HTTP subclass
      would simply have a flag to disable that behavior (for back-compat
      purposes).
      616a58d7