-
defanor
Is there a recommended (or even standard, that I'm missing) way for clients to "expire" sent/tracked IQs with no responses?
-
lovetox
no defanor
-
lovetox
in your client you expire them by ignoring the result
-
lovetox
but you cant tell the server, dont send the result
-
lovetox
even if there would be a way, servers process stanzas in the order they come in
-
lovetox
you when they get to your "expire" or cancel iq thingy, its already to late and they sent their result
-
defanor
Yes, I meant the rules for "expire them by ignoring the result": e.g., how long a client should/expected to wait, or how many IQs it should remember.
-
lovetox
you should remember all IQs until you decide to not remember them anymore
-
lovetox
there are no rules
-
lovetox
if you request a blocking list via IQ, because the user opened a UI to show the blocking list, and he closes the window after 1 second, it makes no sense anymore to wait for the IQ
-
lovetox
if a user deletes a user from the roster via IQ, it probably makes sense to wait as long as the application is running for the result
-
lovetox
it all depends on what you are doing
-
defanor
I see, thanks.
-
lovetox
as IQ flow is GET -> RESULT, the party that sends you the result does not care a bit if you ignore it or not