changeset 8bfa9f5a7834 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=8bfa9f5a7834 description: send a candidate-error when we get a session-accept with no streamhost
diffstat:
src/common/socks5.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r f734ef0113c2 -r 8bfa9f5a7834 src/common/socks5.py --- a/src/common/socks5.py Sat Oct 29 00:09:45 2011 -0400 +++ b/src/common/socks5.py Sat Oct 29 11:34:05 2011 +0200 @@ -133,6 +133,9 @@ 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':