metajack / libstrophe

The libstrophe repository has moved to https://github.com/strophe/libstrophe
http://strophe.im/libstrophe
Other
135 stars 49 forks source link

Fix logging when stanzas are too big #10

Closed hoelzro closed 12 years ago

hoelzro commented 13 years ago

If you try to send a stanza with a lot of data in it (in my example, I do 10000 chars), libstrophe seg faults. I've included a test file (https://gist.github.com/1202353); you'll need an XMPP server running on localhost with the JID rob@localhost on it with the password abc123 to run the test. I tested against Prosody 0.8.2.