# HG changeset patch
# User Paul Aurich <paul@darkrain42.org>
# Date 1232340731 0
# Node ID 3098c5e4d7a49a679fe7279414f7afbfb2e0d335
# Parent  26259ee81c5b504d4d4bf192753511a07931cba1
BOSH: Reset the HTTP parsing vars when we've handled a response

diff -r 26259ee81c5b -r 3098c5e4d7a4 libpurple/protocols/jabber/bosh.c
--- a/libpurple/protocols/jabber/bosh.c	Mon Jan 19 04:15:21 2009 +0000
+++ b/libpurple/protocols/jabber/bosh.c	Mon Jan 19 04:52:11 2009 +0000
@@ -547,6 +547,7 @@
 	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