diff options
author | Tobias Markmann <tm@ayena.de> | 2015-03-02 15:05:17 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2015-03-28 10:32:15 (GMT) |
commit | 81f06ccf527dbbd3b9082d7c1a35e4e312a168e0 (patch) | |
tree | dcfd16db1077e8a26ee1e49265d76b06e06f972e /Swift/resources/icons/eraser.png | |
parent | 2d13a4a47a076efde64671bc8eac2b4363a8790f (diff) | |
download | swift-81f06ccf527dbbd3b9082d7c1a35e4e312a168e0.zip swift-81f06ccf527dbbd3b9082d7c1a35e4e312a168e0.tar.bz2 |
Change IQ handling to allow non-final IQ handlers/responders
Previously all IQ handlers were final. The IQ handles were processed
in last-added-first order and if the IQ payload matched the handler
payload, the IQ would only be passed to that handler.
This conflicts with our IBBReceiveSession. When running multiple
concurrent file-transfers using multiple IBBReceiveSessions there are
multiple IQ handlers for IBB content; one for every transfer.
This commit allows a Responder to be set as non-final. In this case
unhandled IQs will not be responded with an error but returned to
the IQRouter so it can pass it to the next possible IQ handler.
Test-Information:
Tested with ConcurrentFileTransferTest with runs multiple IBB transfers
in parallel.
Change-Id: I8237e234cbe5c110deaa8c3d6ba303b65fd53d00
Diffstat (limited to 'Swift/resources/icons/eraser.png')
0 files changed, 0 insertions, 0 deletions