Commit Graph

84 Commits

Author SHA1 Message Date
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
Zhenchao Li c29fbdb617 enable FT over proxy 2010-07-13 10:38:31 +08:00
Yann Leboulanger e5eb62e12b correctly get connection object in JingleTransportSocks5 2010-07-06 12:29:21 +02:00
Zhenchao Li 92988cf2ba fix bug: use jid without resource 2010-07-05 19:54:59 +08:00
Zhenchao Li 14fe189b00 send transport info, start "send_file" after receiving transport-info.
TODO: implement file transfer complete callback, various session management code for abnormal FT interactions.
2010-07-05 13:46:53 +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
Zhenchao Li 2203755734 parse transport, construct streamhosts 2010-07-01 15:48:44 +08:00
Zhenchao Li 2b745570ec add file_props structure to socks5queue 2010-07-01 13:25:33 +08:00
Zhenchao Li b85e7849e8 contruct transport candidates for jingle socks5 bytestream 2010-06-19 22:52:17 +08:00
Zhenchao Li e61e5db0b7 fix coding style: use 'is' operator when comparing object to None. put space around '%' operator. remove redundant str() on arguments. 2010-06-14 21:21:22 +08:00
Zhenchao Li 5f96675d56 send session-accept stanza if user approve file transfer 2010-06-14 20:41:24 +08:00
Zhenchao Li 182a448630 receive jingle file transfer session initiate message, shout 'FILE-REQUEST' event to connection object. 2010-06-08 21:24:41 +08:00
Zhenchao Li d62dd5a521 construct well-formed jingle FT session-initiate stanza 2010-06-08 16:39:44 +08:00
Zhenchao Li 048feb5528 added JingleFileTransfer for managing jingle ft content
code added to trigger jingle ft session when needed
2010-06-06 23:22:52 +08:00