Commit Graph

131 Commits

Author SHA1 Message Date
Yann Leboulanger d27591076f fix exception handling 2013-01-01 23:18:36 +01:00
Yann Leboulanger 77775cf0af Gajim now uses python-nbxmpp library instead of embedding it. 2012-12-09 21:37:51 +01:00
Jefry Lagrange 589c3081bb socks5 proxy supports file request. Raise OutOfOrder exception when we get a candidate and we are not expecting it 2012-09-21 17:42:16 -04:00
Jefry Lagrange 6f9c540392 refactoring 2012-09-18 00:12:07 -04:00
Yann Leboulanger f22a889845 don't forget to send candidate-error when we get only a local IP 2012-08-30 23:45:35 +02:00
Jefry Lagrange 401f19282a dont connect to local host if ip is the same or if is loopback 2012-08-28 15:10:19 -04:00
Yann Leboulanger 2bcc753c67 fixsending through a proxy 2012-08-28 19:10:13 +02:00
Jefry Lagrange 4585c85458 coding standards 2012-08-23 17:45:38 -04:00
Yann Leboulanger fb5d58de11 don't do SSL over SSL and correctly shutdown SSL sockets. 2012-08-23 11:36:51 +02:00
Jefry Lagrange 1dc1adf073 only delete file_props in the ft_window 2012-08-22 15:30:12 -04:00
Yann Leboulanger 5178543517 add a try/except 2012-08-22 14:49:44 +02:00
Yann Leboulanger f832900d2b coding standards 2012-08-22 12:55:57 +02:00
Yann Leboulanger 5d7ce867b4 fix indentation 2012-06-20 23:58:08 +02:00
Jefry Lagrange 2af1af2011 file_props refactoring 2012-06-14 12:27:23 -04:00
Jefry Lagrange 2b8890bf51 dont cancel when we cant bind to port. Fixes #7173 2012-06-08 20:02:45 -04:00
Yann Leboulanger 0c36f50196 merge from trunk 2012-04-12 22:07:30 +02:00
Yann Leboulanger 3a3f99d618 upgrade copyright 2012-01-11 22:20:34 +01:00
Jefry Lagrange c491bd3f59 create a new session for every new file transfer; enable OpenSSL 2011-12-27 23:47:00 -05:00
Jefry Lagrange b85f96b929 fix sending multiple files at the same time 2011-12-26 21:18:45 -05:00
Jefry Lagrange 952ea6a9b6 fix closing listening port 2011-12-24 18:12:05 -05:00
Jefry Lagrange c9f2176ccb fix bad refactoring 2011-12-22 21:52:37 -05:00
Jefry Lagrange eec056ccd1 refactoring 2011-11-18 18:21:34 -05:00
Jefry Lagrange 543e0265de refactoring 2011-11-18 15:07:25 -05:00
Jefry Lagrange bc78e35d55 refactoring 2011-11-17 23:55:44 -05:00
Yann Leboulanger e4fa96cce3 make jingleFT work when receiver's proxy is used 2011-11-02 00:09:33 +01:00
Yann Leboulanger f35c3d9143 send a candidate-error when we get a session-accept with no streamhost 2011-10-29 11:34:05 +02:00
Jefry Lagrange 212f33cafa socks5 proxy fixed 2011-10-29 00:09:45 -04:00
Yann Leboulanger a3d772e505 coding standards 2011-08-24 10:36:00 +02:00
Jefry Lagrange 609ee79791 connect to candidate with highest priority 2011-08-21 19:02:58 -04:00
Jefry Lagrange 60df476506 Wait until candidate negociation ends; Socks5 connection problem fixed 2011-08-14 23:59:39 -04:00
Jefry Lagrange 9f3d472564 bidirectional jingle FT with socks5 2011-08-08 19:43:07 -04:00
Jefry Lagrange af2e7c89af move plug_idle into socks5queue 2011-08-01 23:12:30 -04:00
Jefry Lagrange 8fbaaba356 Fixes jingleFT IBB fallback 2011-07-05 14:05:16 -04:00
Yann Leboulanger dc3b203168 use event system for jingle FT 2011-06-24 18:24:42 +02:00
Yann Leboulanger 38dce6e2c1 prevent traceback 2010-08-26 13:52:40 +02:00
Yann Leboulanger 99981e57b8 ability to send several files at the same time. We need to accept them all before transfer starts for the moment. 2010-08-26 11:56:12 +02:00
Yann Leboulanger 286d788da0 Name of filetransfer content is now random to be able to have 2 transfer in the same session. send and handle content-add in filetranfer 2010-08-26 10:36:58 +02:00
Yann Leboulanger 6911821a28 fix a typo 2010-08-25 12:21:12 +02:00
Yann Leboulanger 833983eab8 - use transport sid to compute hash sent to proxies
- Don't use XTLS when using proxies
2010-08-25 12:05:14 +02:00
Zhenchao Li ae97a3ed83 wrap IO operations on SSL.Connection objects in try, catch SSL exceptions caused by SSL rehandshake request and simply ignore, retrying the IO should succeed. 2010-07-29 21:40:40 +08:00
Zhenchao Li 2b603fd7e1 add some code to allow testing using some pre-existing certificates.
TODO: manually handle handshake states to allow non-blocking I/O
2010-07-27 21:29:12 +08:00
Zhenchao Li 216c370c1f add fingerprint argument, we shall use it to retrieve certificates later on. 2010-07-26 20:57:11 +08:00
Zhenchao Li d0adcb1a05 dispatch iq-result for a jingle iq stanza, start listener after iq-result on session-initiate. 2010-07-03 16:22:47 +08:00
Yann Leboulanger 2be53c4aac update my copyright to 2010 2010-03-11 16:52:36 +01:00
Éric Araujo 357d7db07d fixed some whitespace thanks to 2to3 -f ws_comma 2010-02-10 19:24:11 +01:00
Éric Araujo fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger 64da0b0671 correctly get error numbre from error object. 2010-02-02 20:02:47 +01:00
Yann Leboulanger 88bb5ab8fc fix missing import. see #5327 2010-01-03 11:31:22 +01:00
Alex V. Myltsev 0699e2e3a1 catch "address family not supported" errors when sending files. Fixes #5327 2010-01-02 22:47:36 +01:00
Alexander Cherniuk 6bf2246de5 A big portion of doc-string refactoring 2009-11-26 13:58:12 +02:00