Le 17/09/2012 13:10, Tomasz Sterna a écrit :
Again.
There is '[email protected]/foo' resource with priority 1 bound on sm1.
There is '[email protected]/bar' resource with priority 1 bound on sm2.

1. There is an incoming iq-get request for [email protected] vCard.
  - it is being sent to sm1 and sm2
  - sm1 and sm2 answers on behalf of the user
  - querying user gets two responses

        I see a possibility for this but it looks hackish...: router looks into the messages 
when there are more than 1 possible recipient component (in "user@domain" case). 
If it is an IQ => it generates the error itself. Or it passes the message to one of the 
component (at random) that will generate the error message...

        I'm not happy with these ideas, though...

        I'm still trying to think about a better solution.

1. Presence case
  - you're right. Presence packets are replicated to all resources, so
we're good here.

        Ok.
--
--      \^/                                            --
--    -/ O \---------------------------------------    --
--   | |/ \|      Alexandre (Midnite) Jousset      |   --
--    -|___|---------------------------------------    --


Reply via email to