Comparison

util/xmppstream.lua @ 6053:2f93a04564b2

util.xmppstream: Also disable CharacterData merging after stream restarts
author Matthew Wild <mwild1@gmail.com>
date Wed, 02 Apr 2014 14:31:19 +0100
parent 6052:ce3244c084f9
child 6054:7a5ddbaf758d
child 6363:ec446efc15e1
comparison
equal deleted inserted replaced
6052:ce3244c084f9 6053:2f93a04564b2
241 local parser = new_parser(handlers, ns_separator, false); 241 local parser = new_parser(handlers, ns_separator, false);
242 local parse = parser.parse; 242 local parse = parser.parse;
243 243
244 return { 244 return {
245 reset = function () 245 reset = function ()
246 parser = new_parser(handlers, ns_separator); 246 parser = new_parser(handlers, ns_separator, false);
247 parse = parser.parse; 247 parse = parser.parse;
248 n_outstanding_bytes = 0; 248 n_outstanding_bytes = 0;
249 meta.reset(); 249 meta.reset();
250 end, 250 end,
251 feed = function (self, data) 251 feed = function (self, data)