Fix capture stop with Wireshark

Fix https://github.com/GNS3/gns3-gui/issues/1763
pull/874/head
Julien Duponchelle 8 years ago
parent 2de284ea30
commit 304d92764c
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -340,7 +340,7 @@ class Compute:
self._response.close() self._response.close()
url = self._getUrl("/projects/{}/stream/{}".format(project.id, path)) url = self._getUrl("/projects/{}/stream/{}".format(project.id, path))
response = yield from self._session().request("GET", url, auth=self._auth) response = yield from self._session().request("GET", url, auth=self._auth, timeout=None)
if response.status == 404: if response.status == 404:
raise aiohttp.web.HTTPNotFound(text="{} not found on compute".format(path)) raise aiohttp.web.HTTPNotFound(text="{} not found on compute".format(path))
return StreamResponse(response) return StreamResponse(response)

Loading…
Cancel
Save