Skip to content
Snippets Groups Projects
Commit f0e832df authored by Tim Kreuzer's avatar Tim Kreuzer
Browse files

do not allow async start, if response is used for tunnel creation

parent ca190b5d
No related branches found
No related tags found
No related merge requests found
...@@ -715,7 +715,8 @@ class OutpostSpawner(ForwardBaseSpawner): ...@@ -715,7 +715,8 @@ class OutpostSpawner(ForwardBaseSpawner):
request_header = await self.get_request_headers() request_header = await self.get_request_headers()
url = await self.get_request_url() url = await self.get_request_url()
if self.start_async: ssh_during_startup = self.get_ssh_during_startup()
if self.start_async and not ssh_during_startup:
request_header["execution-type"] = "async" request_header["execution-type"] = "async"
req = HTTPRequest( req = HTTPRequest(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment