- 17 Apr, 2015 1 commit
-
-
Jason Madden authored
-
- 16 Apr, 2015 6 commits
-
-
Jason Madden authored
-
Jason Madden authored
Fix the subprocess tests on PyPy: they fail even in a stock build, so skip the one that's a problem.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
- 27 Mar, 2015 1 commit
-
-
Jason Madden authored
Add __all__ for _sslgte279, fixing test__all under 2.7.9. Adjust test__all and test__execmodule to not examine _sslgte279 on < 2.7.9, making them pass under earlier versions.
-
- 25 Mar, 2015 6 commits
-
-
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.
-
Jason Madden authored
-
Jason Madden authored
The same flush calls that were needed for PyPy are needed to make CPython's test__pywsgi tests pass.
-
Jason Madden authored
-
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.
-
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
-
- 21 Mar, 2015 1 commit
-
-
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.
-
- 17 Mar, 2015 7 commits
-
-
Jason Madden authored
Per @tilgovi in issue gevent/gevent#248, try the path of adapting the example portforwarder to work like gunicorn and don't expect the lifetime of the socket to outlast the invocation of the spawned handle method. Down to 10 total failures, only one unexpected.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Do not hang test_socket under pypy and fix NetworkConnectionNoServer.test_create_connection_timeout.
-
Jason Madden authored
-
Jason Madden authored
to close the socket (or other arguments) when the handler finished. This breaks under PyPy which uses a different GC. Fix it by wrapping the handler and explicitly closing the socket when it returns. This fixes test__server under PyPy, although not in a particularly elegant way. It also negates the need for 57936127.
-
Jason Madden authored
-
- 16 Mar, 2015 7 commits
-
-
Jason Madden authored
-
Jason Madden authored
Fix the backdoor server error on PyPy: there is a weakreference somewhere keeping socket objects alive or a finalizer is involved so a judicious GC fixes the hangs...but ideally the dangling reference gets found and fixed.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Under PyPy, make the main greenlet look like the MainThread. This fixes many of the threading related tests. After: 18/123 tests failed in 03:32 14/123 expected failures 4/123 unexpected failures
-
Jason authored
Work around missing sslwrap in Python 2.7.9 (fixes #477) #481
-
Jason authored
Bug/ py3k acquire. See gevent/gevent#496
-
- 26 Dec, 2014 2 commits
-
-
Eugene Pankov authored
Handle server_hostname and _context in SSLv2 SSLSocket
-
Jonathan Kamens authored
With the backport of SNI code from Python 3 to Python 2.7.x, Python's ssl.py is now passing server_hostname and _context into SSLv2's SSLSocket, rather than just SSLv3's SSLSocket, so we need to handle those arguments.
-
- 13 Dec, 2014 1 commit
-
-
Denis Bilenko authored
Skip trying to build gevent for metadata requests
-
- 11 Dec, 2014 1 commit
-
-
Matthew Iversen authored
Fixes #490
-
- 09 Dec, 2014 2 commits
-
-
Denis Bilenko authored
Remove SSL3 entirely as default TLS level
-
Matthew Iversen authored
-
- 11 Nov, 2014 2 commits
- 04 Nov, 2014 3 commits
-
-
Denis Bilenko authored
upgrade pypy tests to 2.7.8
-
Denis Bilenko authored
Fix #497.
-
Denis Bilenko authored
upgrade libev to 4.19
-