mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-01 04:38:12 +00:00
Fix capture stop with Wireshark
Fix https://github.com/GNS3/gns3-gui/issues/1763
This commit is contained in:
parent
2de284ea30
commit
304d92764c
@ -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…
Reference in New Issue
Block a user