mirror of
https://github.com/servo/servo.git
synced 2025-07-12 09:53:40 +01:00
Update web-platform-tests to revision 34f9b93c2749043ba68485dea92d1fb554075e60
This commit is contained in:
parent
fd64f11efe
commit
ace02666c2
75 changed files with 1496 additions and 120 deletions
|
@ -492,9 +492,10 @@ def start_servers(host, ports, paths, routes, bind_address, config, **kwargs):
|
|||
for scheme, ports in ports.items():
|
||||
assert len(ports) == {"http":2}.get(scheme, 1)
|
||||
|
||||
# TODO Not very ideal, look into removing it in the future
|
||||
# Check that python 2.7.15 is being used for HTTP/2.0
|
||||
# If trying to start HTTP/2.0 server, check compatibility
|
||||
if scheme == 'http2' and not http2_compatible():
|
||||
logger.error('Cannot start HTTP/2.0 server as the environment is not compatible. ' +
|
||||
'Requires Python 2.7.10+ (< 3.0) and OpenSSL 1.0.2+')
|
||||
continue
|
||||
|
||||
for port in ports:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue