diff libpurple/protocols/jabber/libxmpp.c @ 25182:17b60b844803

Jabber BOSH: more fixes. Clean up some more of the structures and leaks Add jabber_bosh_(un)?init functions Properly send raw data (and add a _close function that terminates the stream) Normalize HTTP headers Throw a few more connection errors
author Paul Aurich <paul@darkrain42.org>
date Thu, 04 Dec 2008 23:59:44 +0000
parents 514051f3b6cf
children 1d1d1829de11
line wrap: on
line diff
--- a/libpurple/protocols/jabber/libxmpp.c	Mon Dec 01 05:47:04 2008 +0000
+++ b/libpurple/protocols/jabber/libxmpp.c	Thu Dec 04 23:59:44 2008 +0000
@@ -150,6 +150,7 @@
 	purple_signal_unregister(plugin, "jabber-sending-text");
 
 	/* reverse order of init_plugin */
+	jabber_bosh_uninit();
 	jabber_data_uninit();
 	/* PEP things should be uninit via jabber_pep_uninit, not here */
 	jabber_pep_uninit();
@@ -293,6 +294,7 @@
 	/* PEP things should be init via jabber_pep_init, not here */
 	jabber_pep_init();
 	jabber_data_init();
+	jabber_bosh_init();
 
 	#warning implement adding and retrieving own features via IPC API