jijo-paulose / node-xmpp-bosh

Automatically exported from code.google.com/p/node-xmpp-bosh
0 stars 0 forks source link

Provide descriptive errors #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If the user enters an invalid jid or invalid server name, etc... the same 
"item-not-found" error is returned. Provide more specific error messages to 
entertain certain clients that seem to thrive on variety.

Original issue reported on code.google.com by dhruvb...@gmail.com on 31 May 2011 at 4:10

GoogleCodeExporter commented 9 years ago

Original comment by dhruvb...@gmail.com on 31 May 2011 at 4:10

GoogleCodeExporter commented 9 years ago
The invalid jid case will result in a stream error during the auth phase and it 
need not be handled separately

Original comment by dhruvb...@gmail.com on 31 May 2011 at 4:11

GoogleCodeExporter commented 9 years ago
For invalid server name (hostname), send either: remote-connection-failed or 
host-unknown - which one??

Original comment by dhruvb...@gmail.com on 31 May 2011 at 4:12

GoogleCodeExporter commented 9 years ago
The BOSH server already sends a 'remote-connection-failed' condition on stream 
connection breakage.

There was a minor inconsistency there, but commit #243 should fix that.

Please re-open if you think it's not fixed.

Original comment by dhruvb...@gmail.com on 31 May 2011 at 8:02