cpw.darkrain42.xmpp.bosh: cfd2faf5: BOSH: Reset the HTTP parsing vars when w...

paul at darkrain42.org paul at darkrain42.org
Mon Jan 19 13:31:28 EST 2009


-----------------------------------------------------------------
Revision: cfd2faf580199ed8d22eb1d16ef80cf19e5b009e
Ancestor: 4d5cf3a74befa2463cc0582ada1ec37a8de19a02
Author: paul at darkrain42.org
Date: 2009-01-19T04:52:11
Branch: im.pidgin.cpw.darkrain42.xmpp.bosh
URL: http://d.pidgin.im/viewmtn/revision/info/cfd2faf580199ed8d22eb1d16ef80cf19e5b009e

Modified files:
        libpurple/protocols/jabber/bosh.c

ChangeLog: 

BOSH: Reset the HTTP parsing vars when we've handled a response

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/bosh.c	8eeddc5edad295874d4db1c8dd0d0883450c0d9d
+++ libpurple/protocols/jabber/bosh.c	a382888d13954672b5d9cb4215c5a5cd4c07a543
@@ -547,6 +547,7 @@ jabber_bosh_http_connection_process(Purp
 	conn->buf = NULL;
 	jabber_bosh_http_response_destroy(conn->current_response);
 	conn->current_response = NULL;
+	conn->headers_done = conn->handled_len = conn->body_len = 0;
 }
 
 static void


More information about the Commits mailing list