don't fail when stream version < 1.0. Fixes #4600
This commit is contained in:
parent
68550b731b
commit
cd9c041585
|
@ -363,6 +363,7 @@ class NonBlockingClient:
|
||||||
log.warn('While connecting with type = "tls": stream version ' +
|
log.warn('While connecting with type = "tls": stream version ' +
|
||||||
'is less than 1.0')
|
'is less than 1.0')
|
||||||
self._on_connect()
|
self._on_connect()
|
||||||
|
return
|
||||||
if self.Dispatcher.Stream.features.getTag('starttls'):
|
if self.Dispatcher.Stream.features.getTag('starttls'):
|
||||||
# Server advertises TLS support, start negotiation
|
# Server advertises TLS support, start negotiation
|
||||||
self.stream_started = False
|
self.stream_started = False
|
||||||
|
|
Loading…
Reference in New Issue