diff options
author | Alon Levy <alevy@redhat.com> | 2011-02-03 17:51:29 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-02-09 12:14:03 +0200 |
commit | 85ce53b6beaeec63023ce81cdf4a1c0c47f3b8bf (patch) | |
tree | 91fe30c62035f396e91cf79f579ca544ae2896dc /client/screen_layer.cpp | |
parent | 51da06793c33ff30b45154ccfc6e28d6d0d35db6 (diff) | |
download | spice-85ce53b6beaeec63023ce81cdf4a1c0c47f3b8bf.tar.gz spice-85ce53b6beaeec63023ce81cdf4a1c0c47f3b8bf.tar.xz spice-85ce53b6beaeec63023ce81cdf4a1c0c47f3b8bf.zip |
client/smartcard: libcacard dropped ReaderAddResponse
uses VSC_Error with code==VSC_SUCCESS instead. This means that the VSC_Error
message is overloaded. Instead of the other option of adding a message id,
since the connection is TCP so no messages may be dropped or reordered, by
having each message followed by a response there is no ambiguity. Still
this commit adds a queue for messages that we only have one of which outstanding
at a time, i.e. send, wait for response, send the next, etc. This further
simplifies the logic, while not adding much overhead since only when spicec
starts up it has a situation where it needs to send two events (ReaderAdd
and ATR for Card Insert).
Diffstat (limited to 'client/screen_layer.cpp')
0 files changed, 0 insertions, 0 deletions