mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-18 07:23:47 +02:00
Fix a crash in some cases
This commit is contained in:
parent
ed656b7ab2
commit
823288dd0b
@ -46,7 +46,8 @@ class Response(aiohttp.web.Response):
|
||||
|
||||
def enable_chunked_encoding(self):
|
||||
# Very important: do not send a content length otherwise QT closes the connection (curl can consume the feed)
|
||||
self.content_length = None
|
||||
if self.content_length:
|
||||
self.content_length = None
|
||||
super().enable_chunked_encoding()
|
||||
|
||||
@asyncio.coroutine
|
||||
|
Loading…
Reference in New Issue
Block a user