Commit graph

13 commits

Author SHA1 Message Date
Yann Leboulanger
d62b4e1ea2 NAT Timeout packet are now sent from connection.py so they will be configurable and won't be sent while we connect to a server 2005-06-22 14:54:02 +00:00
Yann Leboulanger
0f41e49758 set default timeout of xmpp to 45 instead of 25 2005-05-23 09:53:05 +00:00
Yann Leboulanger
fe53843edb we wait 45 for keepalive packages 2005-05-22 17:24:20 +00:00
Yann Leboulanger
6f6f45d07b check for KeyError (fix #311) 2005-05-22 10:10:41 +00:00
Yann Leboulanger
b5ed8ee163 apply Alexey patch for TLS error. Now buffer is 1M, so this workaround should prevent TLS crash 2005-05-20 13:27:39 +00:00
Yann Leboulanger
2f35fade71 bugfix when keepalive package doen't come back 2005-05-10 17:45:10 +00:00
Yann Leboulanger
aa9de25923 Alexey patch that allows discover that server is violating RFC by not restarting stream after TLS start.
If server did such thing xmpppy will not crash unpredictely but will issue a appropriate exception.
2005-05-10 09:27:04 +00:00
Yann Leboulanger
2171def073 we get the roster asynchronously now 2005-05-08 17:00:41 +00:00
Yann Leboulanger
58705bbba5 patch from Alexey: new function: SendAndCallForResponse.
It will help in resolving locking problems
2005-05-07 16:16:24 +00:00
Yann Leboulanger
54ae5dc351 send only _one_ keepAlive packet 2005-05-07 12:41:29 +00:00
Yann Leboulanger
56d60f3fd5 xmpppy changes:
- Sync with latest CVS version + gajim patches.
- streamErrorHandler disabled. If you want enable it - unrem it at line 66 of
  dispatcher.py
- TLS re-enabled. Should work fine now
- disconnection TLS plugout re-enabled. Didn't successed in reproducing
  problem though so maybe not fixed.
- My temporary fixes replaced with CVS ones.

gajim connection.py changes (in chunks order):
- getTags is incorrect. Replaced with getChildren
- browseAgents is absent from xmpppy. Fixed with manual node send. Made use of
  buildReply method and con argument
- formatting fix
- crude fixed register problem. I do not know how to do it properly. It is
  client stuff. Honest! I have no idea how to make it non-blocking and yet make
  library to fallback to older protocols.
  getInstructions() moved to xmpppy
Thanks Alexey !
2005-05-07 10:57:40 +00:00
Yann Leboulanger
e8965ae8b4 send keepalive every minute 2005-05-04 19:20:02 +00:00
Yann Leboulanger
c85273d556 switch from jabberpy to xmpppy 2005-04-26 18:45:54 +00:00