1. 17 Apr, 2015 3 commits
  2. 16 Apr, 2015 6 commits
  3. 27 Mar, 2015 1 commit
  4. 25 Mar, 2015 6 commits
    • Jason Madden's avatar
      Fix the last test_ssl failure (test_protocol_sslv2) for CPython 2.7.8 and .9.... · e867ec12
      Jason Madden authored
      Fix the last test_ssl failure (test_protocol_sslv2) for CPython 2.7.8 and .9. In python Issue 20207, the SSLv2 protocol was disabled by default, and thus the test was changed to expect a failure (see https://github.com/python/cpython/commit/65f2fdce200b800bd95ac6690e9654afc37897c6).  Match that change.
      e867ec12
    • Jason Madden's avatar
    • Jason Madden's avatar
      The same flush calls that were needed for PyPy are needed to make CPython's... · 65f57b0c
      Jason Madden authored
      The same flush calls that were needed for PyPy are needed to make CPython's test__pywsgi tests pass.
      65f57b0c
    • Jason Madden's avatar
    • Jason Madden's avatar
      More for gevent/gevent#546 under CPython. · 8f2e9b7c
      Jason Madden authored
      Tested under Python 2.7.8 and all the test_ssl tests pass, EXCEPT for:
      -- test_algorithms. That test is disabled in the 2.7.8 sourcecode, so disable it here;
      -- test_protocol_sslv2, which fails with the same EOF error as described in the last commit for 2.7.9.
      8f2e9b7c
    • Jason Madden's avatar
      Working on gevent/gevent#546 for CPython only. · 00ed793f
      Jason Madden authored
      Fixes several test failures under 2.7.9, notably test__pywsgi and test__ssl.
      There are lots of whitespace differences in the tests due to forking for CPython
      <= 2.7.8.
      
      The complete failure list follows.
      
      The ONLY failure in 2.7/test_ssl has this traceback; I'm not sure what the cause is yet:
      
        ======================================================================
        ERROR: test_protocol_sslv2 (__main__.ThreadedTests)
        ----------------------------------------------------------------------
        Traceback (most recent call last):
          File "test_ssl.py", line 71, in f
            return func(*args, **kwargs)
          File "test_ssl.py", line 1205, in test_protocol_sslv2
            try_protocol_combo(ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv23, True)
          File "test_ssl.py", line 979, in try_protocol_combo
            chatty=False, connectionchatty=False)
          File "test_ssl.py", line 909, in server_params_test
            s.connect((HOST, server.port))
          File "/gevent/gevent/_sslgte279.py", line 546, in connect
            self._real_connect(addr, False)
          File "/gevent/gevent/_sslgte279.py", line 537, in _real_connect
            self.do_handshake()
          File "/gevent/gevent/_sslgte279.py", line 504, in do_handshake
            return self._sslobj.do_handshake()
        SSLEOFError: EOF occurred in violation of protocol (_ssl.c:581)
      
        ----------------------------------------------------------------------
      
      3/123 expected failures
       - //bin/python -u -m monkey_test test_ssl.py
       - //bin/python -u test__socket_dns6.py
       - //bin/python -u -m monkey_test --Event test_ssl.py
      
      4/123 unexpected failures
       - //bin/python -u test__all__.py
       - //bin/python -u test_ares_timeout.py
       - //bin/python -u -m monkey_test test_httpservers.py
       - //bin/python -u -m monkey_test --Event test_httpservers.py
      00ed793f
  5. 21 Mar, 2015 1 commit
    • Steffen Prince's avatar
      Port Python 2.7.9 ssl.py · 34d5a9a2
      Steffen Prince authored
      Resolves #477.
      
      In Python 2.7.9, we have new SSL interfaces, that are not quite
      the old Python 2 interfaces, nor the same as the Python 3 interfaces.
      
      This creates a new SSL module, _sslgte279.py, for Python 2 versions
      greater than or equal 2.7.9, ported from Python 2.7.9's ssl.py:
      https://hg.python.org/cpython/file/648dcafa7e5f/Lib/ssl.py.
      
      The process of porting was done by starting with gevent's ssl3.py and
      backporting Python 2.7.9's ssl.py.
      
      Fixes these tests under Python 2.7.9:
      
       - /usr/local/bin/python -u -m monkey_test --Event test_urllib2net.py
       - /usr/local/bin/python -u -m monkey_test test_urllib2net.py
       - /usr/local/bin/python -u test__ssl.py
      
      No new test failures. Still failing since 72119c8c:
      
       - /usr/local/bin/python -u -m monkey_test --Event test_ssl.py
       - /usr/local/bin/python -u -m monkey_test test_ssl.py
       - /usr/local/bin/python -u test__pywsgi.py
       - /usr/local/bin/python -u test__makefile_ref.py
       - /usr/local/bin/python -u test__socket.py
       - /usr/local/bin/python -u test___example_servers.py
       - /usr/local/bin/python -u -m monkey_test --Event test_ftplib.py
       - /usr/local/bin/python -u test__socket_ssl.py
       - /usr/local/bin/python -u -m monkey_test test_ftplib.py
       - /usr/local/bin/python -u test__all__.py
      
      In addition, basic HTTPS requests were tested with urllib3==1.10.2
      and requests==2.6.0.
      34d5a9a2
  6. 17 Mar, 2015 7 commits
  7. 16 Mar, 2015 7 commits
  8. 26 Dec, 2014 2 commits
  9. 13 Dec, 2014 1 commit
  10. 11 Dec, 2014 1 commit
  11. 09 Dec, 2014 2 commits
  12. 11 Nov, 2014 2 commits
  13. 04 Nov, 2014 1 commit