changeset 25809:3098c5e4d7a4

BOSH: Reset the HTTP parsing vars when we've handled a response
author Paul Aurich <paul@darkrain42.org>
date Mon, 19 Jan 2009 04:52:11 +0000
parents 26259ee81c5b
children 7856dccb02fb
files libpurple/protocols/jabber/bosh.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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