Skip to content

Commit

Permalink
Upgrade aiohttp to v3.10.10. Fixes #2411
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Oct 31, 2024
1 parent ec300d1 commit 74d0717
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gns3server/controller/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async def start(self, computes=None):
if server_config.enable_ssl:
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":
log.warning(f"Protocol changed to 'https' for local compute because SSL is enabled")
protocol = "https"
Expand Down
2 changes: 1 addition & 1 deletion gns3server/controller/symbols.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self):
self._symbol_size_cache = {}

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

@property
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ uvicorn==0.29.0
fastapi==0.112.0
python-multipart==0.0.9
websockets==12.0
aiohttp>=3.9.5,<3.10
aiohttp>=3.10.10,<3.11
async-timeout==4.0.3
aiofiles>=24.1.0,<25.0
Jinja2>=3.1.4,<3.2
Expand Down

0 comments on commit 74d0717

Please sign in to comment.