1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-01 04:38:12 +00:00

Upgrade aiohttp to v3.10.10. Fixes #2411

This commit is contained in:
grossmj 2024-10-31 13:48:22 +10:00
parent ec300d19d4
commit 74d07173c1
No known key found for this signature in database
GPG Key ID: 0A2D76AC45EA25CD
3 changed files with 3 additions and 3 deletions

View File

@ -91,7 +91,7 @@ class Controller:
if server_config.enable_ssl: if server_config.enable_ssl:
self._ssl_context = self._create_ssl_context(server_config) self._ssl_context = self._create_ssl_context(server_config)
protocol = server_config.protocol protocol = server_config.protocol.value
if self._ssl_context and protocol != "https": if self._ssl_context and protocol != "https":
log.warning(f"Protocol changed to 'https' for local compute because SSL is enabled") log.warning(f"Protocol changed to 'https' for local compute because SSL is enabled")
protocol = "https" protocol = "https"

View File

@ -45,7 +45,7 @@ class Symbols:
self._symbol_size_cache = {} self._symbol_size_cache = {}
self._server_config = Config.instance().settings.Server self._server_config = Config.instance().settings.Server
self._current_theme = self._server_config.default_symbol_theme self._current_theme = self._server_config.default_symbol_theme.value
self._themes = BUILTIN_SYMBOL_THEMES self._themes = BUILTIN_SYMBOL_THEMES
@property @property

View File

@ -2,7 +2,7 @@ uvicorn==0.29.0
fastapi==0.112.0 fastapi==0.112.0
python-multipart==0.0.9 python-multipart==0.0.9
websockets==12.0 websockets==12.0
aiohttp>=3.9.5,<3.10 aiohttp>=3.10.10,<3.11
async-timeout==4.0.3 async-timeout==4.0.3
aiofiles>=24.1.0,<25.0 aiofiles>=24.1.0,<25.0
Jinja2>=3.1.4,<3.2 Jinja2>=3.1.4,<3.2