Commit Graph

22 Commits

Author SHA1 Message Date
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