Ticket #5 (new defect)
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
Note: See
TracTickets for help on using
tickets.