• Strophe
  • Punjab
  • Palaver
  • Speeqe
  • Stanziq
Strophe Logo
  • Login
  • Preferences
  • Help/Guide
  • OpenID Login
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #5 (new defect)

Opened 2 years ago

Last modified 2 years ago

authentication failures are not returned to the callback correctly

Reported by: jack Owned by: jack
Priority: major Milestone:
Component: libstrophe Version:
Keywords: Cc: mwild1@…

Description

If you change line 32 of source:/trunk/libstrophe/examples/basic.c to

fprintf(stderr, "DEBUG: disconnected, error: %d, stream_error: %p\n", error, stream_error);

and log in with the wrong password, libstrophe reports:

DEBUG: disconnected, error: 0, stream_error: 0x0

There doesn't seem to be a way to detect authentication failure like in strophe.js. Also, the error is never used internally.

Change History

Changed 2 years ago by MattJ

  • cc mwild1@… added
Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.11.5
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/