don't fail when stream version < 1.0. Fixes #4600

This commit is contained in:
Yann Leboulanger 2009-01-20 09:07:41 +00:00
parent 68550b731b
commit cd9c041585
1 changed files with 1 additions and 0 deletions

View File

@ -363,6 +363,7 @@ class NonBlockingClient:
log.warn('While connecting with type = "tls": stream version ' +
'is less than 1.0')
self._on_connect()
return
if self.Dispatcher.Stream.features.getTag('starttls'):
# Server advertises TLS support, start negotiation
self.stream_started = False