summaryrefslogtreecommitdiffstats
path: root/client/red_channel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* client: support semi-seamless migration between spice servers with different ↵Yonit Halperin2011-09-261-0/+20
| | | | | | | protocols. It can't actually happen right now, since switch-host migration scheme will take place if the src/target server has protocol 1.
* client: handle SPICE_MSG_MAIN_MIGRATE_ENDYonit Halperin2011-09-261-0/+60
| | | | | | | | (1) disconnect all channels from the migration src (2) after all channels are disconnected, clean global resources (3) send SPICE_MSGC_MAIN_MIGRATE_END to migration target (4) wait for SPICE_MSG_MAIN_INIT (4) switch all channels to migration target
* channel: fix EVP_PKEY leakChristophe Fergeau2011-09-201-3/+7
|
* spicec: do not call connect_secure when connect_unsecure fails due to ↵Arnon Gilboa2010-12-071-5/+7
| | | | | | | | | | | | | | | | | | | | protocol version mismatch (v2) If connect_unsecure failed due to protocol version mismatch, don't try to connect_secure with the same version, but retry (connect_secure or connect_unsecure) with older version. catch (...) is handled by caller at RedChannel::run(). This solves the following bug: when "new" Spice client (protocol version 2) with given secure_port connects to "old" server which is not using the same secure_port (or not using a secure_port at all), the client exits immediately. In this scenario, the client first tries to use Spice protocol version 2 to connect the unsecure port, and altough this fails due to version mismatch, it tries to connect to the secure port with the same protocol version 2, which is a wrong behavior, fails due to socket error 10061 (WSAECONNREFUSED - Connection refused) and handled mistakenly by immediate exit, instead of retrying with protocol version 1.
* client: add verbose link error messagesAlon Levy2010-10-251-1/+19
|
* codegen: Various cleanupsAlexander Larsson2010-07-191-10/+12
| | | | | | | | | | | | Remove all uses of @end in the marshaller, instead just using the C struct array-at-end-of-struct. To make this work we also remove all use of @end for switches (making them C unions). We drop the zero member of the notify message so that we can avoid this use of @end for a primitive in the marshaller (plus its useless to send over the wire). We change the offsets and stuff in the migration messages to real pointers.
* Fix various misspellingsAlexander Larsson2010-07-081-16/+16
| | | | | | | | | | | | | letancy -> latency compund -> compound SpicedSubMessage -> SpiceSubMessage modifaiers -> modifiers massage -> message outgoiong -> outgoing AlphaBlnd -> AlphaBlend remoth -> remote modifires -> modifiers secore -> secure
* Fix version mismatch error on connectAlexander Larsson2010-06-231-5/+13
| | | | | | | Protocol is 0 (auto), 1 (old), or 2 (new). This is (apart from 0) the same as the major number for the stable protocol. However, the current major is ~(-1) to signify it being unstable, so don't use the major number as source for setting or comparing protocol.
* client: Support connecting to a major==1 serverAlexander Larsson2010-06-221-22/+74
|
* Add more emacs mode headersAlexander Larsson2010-06-221-0/+1
|
* Convert client to use indirect calls for message marshallingAlexander Larsson2010-06-221-3/+3
| | | | This is required to support multiple versions
* Switch client to use generated marshallersAlexander Larsson2010-06-181-13/+15
|
* Fix some misspelled identifiersAlexander Larsson2010-05-211-2/+2
| | | | | | | | | severty -> severity SpiceResorceID -> SpiceResourceID SpiceResorceList -> SpiceResourceList resorces -> resources ped_size -> pad_size postition -> position
* Fix spelling errors in comments and stringsAlexander Larsson2010-05-211-4/+4
|
* Relicense everything from GPL to LGPL 2.1+Alexander Larsson2010-04-131-9/+9
|
* client: add command line support for ciphers, ca file, and host certificate ↵Yonit Halperin2010-03-181-1/+2
| | | | subject
* Rename symbols that were changed in spice-protocolAlexander Larsson2010-02-041-38/+38
| | | | | | This is an automatic change using: $ find -name "*.[ch]" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames $ find -name "*.cpp" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames
* server,client: server authentication for secured channels.Yonit Halperin2010-01-111-10/+7
| | | | | | | | | 3 available mechanisms: by public key, by host name, and by certificate subject name. In the former method, chain of trust verification is not performed. The CA certificate files are looked for under <spice-config-dir>/spice_truststore.pem windows <spice-config-dir>=%APPDATA%\spicec\ linux <spice-config-dir>=$HOME/.spicec/
* client: add GUI infrastructure + functional login dialogYaniv Kamay2009-12-281-1/+2
|
* spice client: Transfer all channels run loop from EventsLoop class to ↵Yonit Halperin2009-11-091-0/+1
| | | | ProcessLoop class
* tunnelYonit Halperin2009-10-181-18/+20
|
* fresh startYaniv Kamay2009-10-141-0/+714