Closed bguina closed 12 years ago
The freeze is not a deadlock issue, but rather a delay waiting for the socket.connect() call to timeout. This is expected to happen if a connection attempt is made to a host+port that will not respond. That some domains failed to connect immediately is a result of not finding any host IP to connect to at all.
However, the timeout for socket connection is fairly long; I had to leave things running for a few minutes before a socket error was thrown and a connection reattempt was made.
ClientXMPP does not return when trying to connect using some domain names.
It is not obvious to me why and which domain would return or not. My current sleekxmpp version is 1.0rc3. This happens no matter the version of python I'm using (2.6.6 and 2.7.0 at least) and whether or not I installed dnspython.
update : It seems to happen only with domain names having A records but no SRV records.