diff options
| author | Alon Levy <alevy@redhat.com> | 2011-02-03 17:51:29 +0200 |
|---|---|---|
| committer | Alon Levy <alevy@redhat.com> | 2011-02-10 10:34:58 +0200 |
| commit | f94d08cf3f3e788f5139fdb1ea5fa1de90b16b06 (patch) | |
| tree | 33d7204f1a1be400b2cd1fe425e47a6c97d73757 /python_modules | |
| parent | 5ed405099293061ab8adb6dc79c9fcc58e42f731 (diff) | |
| download | spice-f94d08cf3f3e788f5139fdb1ea5fa1de90b16b06.tar.gz spice-f94d08cf3f3e788f5139fdb1ea5fa1de90b16b06.tar.xz spice-f94d08cf3f3e788f5139fdb1ea5fa1de90b16b06.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 'python_modules')
0 files changed, 0 insertions, 0 deletions
