Skip to content
Snippets Groups Projects
Commit f35c3d91 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

send a candidate-error when we get a session-accept with no streamhost

parent 212f33ca
No related branches found
No related tags found
No related merge requests found
......@@ -133,6 +133,9 @@ class SocksQueue:
file_props = self.files_props[account][sid]
file_props['failure_cb'] = on_failure
if not file_props['streamhosts']:
on_failure(file_props['sid'])
# add streamhosts to the queue
for streamhost in file_props['streamhosts']:
if 'type' in streamhost and streamhost['type'] == 'proxy':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment