ubuntudroid
ubuntudroid

Reputation: 3999

With how many resources can a user log into a standard compliant XMPP server?

Simple question: is there any restriction on the number of concurrent logins using the same bare JID but different resources in the XMPP standard?

Upvotes: 2

Views: 110

Answers (2)

Joe Hildebrand
Joe Hildebrand

Reputation: 10414

It is implementation-defined, with no set maximum in the RFCs. However, RFC 6120, section 7.6.2.1 says:

If the account has reached a limit on the number of simultaneous connected resources allowed, the server MUST return a stanza error (Section 8.3.3.18).

S: <iq id='tn281v37' type='error'>
     <error type='wait'>
       <resource-constraint
         xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
     </error>
   </iq>

Therefore, it is not true that there is no limit, just that each server installation can make different decisions about what the limit is.

Upvotes: 3

Alex
Alex

Reputation: 4136

unlimited, there is no restriction in the RFCs

Upvotes: 4

Related Questions