From 726480f67660f651845f7b562f1d7eed1dd3ccf2 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 23 Feb 2017 09:21:49 +0100 Subject: [PATCH] Disable Keep Alive because it's bug with old Qt versions --- gns3server/web/response.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gns3server/web/response.py b/gns3server/web/response.py index c057c6a9..65d85d53 100644 --- a/gns3server/web/response.py +++ b/gns3server/web/response.py @@ -39,6 +39,7 @@ class Response(aiohttp.web.Response): self._route = route self._output_schema = output_schema self._request = request + headers['Connection'] = "close" # Disable keep alive because create trouble with old Qt (5.2, 5.3 and 5.4) headers['X-Route'] = self._route headers['Server'] = "Python/{0[0]}.{0[1]} GNS3/{1}".format(sys.version_info, __version__) super().__init__(headers=headers, **kwargs)