diff options
| author | Christophe Fergeau <cfergeau@redhat.com> | 2011-07-21 17:25:22 +0200 |
|---|---|---|
| committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-07-22 10:24:30 +0200 |
| commit | fc2f7d14a27bf44866c6244c8c512fbfddbea677 (patch) | |
| tree | bc82e982ec6102e7e20f7f4a5ac428cec146d74e /python_modules/marshal.py | |
| parent | d81578ec0c4c5e19291fb3effa65762f5a75efc9 (diff) | |
| download | spice-fc2f7d14a27bf44866c6244c8c512fbfddbea677.tar.gz spice-fc2f7d14a27bf44866c6244c8c512fbfddbea677.tar.xz spice-fc2f7d14a27bf44866c6244c8c512fbfddbea677.zip | |
client: only send one SPICE_MSGC_MAIN_ATTACH_CHANNELS messages
492f7a9b fixed unwanted timeouts during initial client startup,
but it also caused a bad regression when connecting to
RHEL6+agent guests: the SPICE_MSGS_MAIN_ATTACH_CHANNELS message
was sent multiple times, once in RedClient::handle_init, then
once again in RedClient::on_agent_announce_capabilities (which
can even be triggered multiple times). Sending this message multiple
times is a big NO and causes the server to close the client connection,
and the client to die. Add a _msg_attach_message_sent boolean to
make sure we only send this message once.
rhbz #712938
Diffstat (limited to 'python_modules/marshal.py')
0 files changed, 0 insertions, 0 deletions
