Commit Graph

63 Commits

Author SHA1 Message Date
Jefry Lagrange 3a5d6d2173 start listening when we get session initiate. Fixes #7175 2012-06-09 15:17:16 -04:00
Jefry Lagrange e195cfb188 send hash in session-init when the file is less than 10 mb 2012-05-28 19:54:59 -04:00
Jefry Lagrange e8df81ab31 sends file request after hash mismatch 2012-05-27 21:05:43 -04:00
Jefry Lagrange be3a948838 small fix 2012-04-17 20:57:34 -04:00
Jefry Lagrange e63674bfb9 add missing argument 2012-04-17 20:47:52 -04:00
Jefry Lagrange 038ea0fe66 minor fixes 2012-04-07 00:56:44 -04:00
Jefry Lagrange 026e5b44f1 refactoring: implemented state machine pattern 2012-04-04 21:04:23 -04:00
Jefry Lagrange ca1eadaa2d refactoring 2012-02-12 19:36:20 -05:00
Jefry Lagrange b2897e36bb better way to handle non supported hash algorithms 2012-01-24 16:51:26 -05:00
Jefry Lagrange c02b43f88f coding standards 2012-01-24 10:04:14 -05:00
Jefry Lagrange 5142ebd626 check file integrity when transfer is completed 2012-01-23 22:28:07 -05:00
Jefry Lagrange c51fb07d09 merge 2012-01-15 19:53:40 -05:00
Jefry Lagrange 376777091e support for xep-300 2012-01-15 19:37:00 -05:00
Yann Leboulanger 69544d5f5c coding standards 2012-01-08 20:44:15 +01:00
Jefry Lagrange 930c71cc04 complete IBB jingle support, fixes #6998 2012-01-06 23:18:50 -05:00
Yann Leboulanger 41b7bd7b41 fix sending jingle ack 2011-12-29 14:08:35 +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 c9f2176ccb fix bad refactoring 2011-12-22 21:52:37 -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
Jefry Lagrange 8408b17758 fix socks5 FT 2011-10-29 14:31:06 -04:00
Jefry Lagrange 212f33cafa socks5 proxy fixed 2011-10-29 00:09:45 -04:00
Yann Leboulanger 4c112419c0 start transfer when we get a candidate-error, but we found a remote usable streamhost 2011-08-24 23:53:36 +02:00
Yann Leboulanger e49a48d7da coding standards + choose correct streamhost when we receive the streamhost_used after we sent it 2011-08-24 10:42:16 +02:00
Jefry Lagrange 19bc86d9a3 fix candidate priority 2011-08-22 23:57:29 -04: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 d92d86e6bc connecting to candidates in session-accept 2011-07-22 16:15:34 -04:00
Jefry Lagrange 2d624a7b96 test case for jingle 2011-07-17 18:28:38 -04:00
Jefry Lagrange 8fbaaba356 Fixes jingleFT IBB fallback 2011-07-05 14:05:16 -04:00
Yann Leboulanger ff972b6b67 fix import loops 2011-07-02 00:47:33 +02:00
Jefry Lagrange a8fe25aaa4 JingleFT IBB fallback 2011-06-28 18:31:07 -04:00
Yann Leboulanger dc3b203168 use event system for jingle FT 2011-06-24 18:24:42 +02:00
Yann Leboulanger 5234e42a28 [Thibg] handle negociated variable correctly and use it for file transfer. 2010-08-26 16:56:08 +02:00
Yann Leboulanger ac2b2ac3a1 accept session as soon as one content is accepted 2010-08-26 13:18:16 +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 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
Yann Leboulanger 556236ac38 don't use XTLS to transfer files when we don't use the security element 2010-08-24 23:24:18 +02:00
Yann Leboulanger b8914c6219 coding standards 2010-08-24 23:12:34 +02: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 e9af72e944 add jingle_xtls.py, get_context helper function 2010-07-27 13:02:44 +08:00
Zhenchao Li 797b3fe6a9 remove unnecessary branch 2010-07-24 10:12:54 +08:00
Zhenchao Li 84debaabca if peer does not include a security element in content node, set use_security to false 2010-07-22 16:20:14 +08:00
Zhenchao Li 30cbdce234 if the peer supports jingle XTLS, send session-initiate with security element 2010-07-22 15:05:06 +08:00
Zhenchao Li e75dc0c408 fix incorrect use of jid where account name should be used as parameter 2010-07-15 14:32:34 +08:00
Zhenchao Li 7d0029879a send proxy activated stanza to peer 2010-07-15 13:38:53 +08:00
Zhenchao Li 2938838f54 remove "pass" 2010-07-13 10:43:14 +08:00